using System;
using System.ComponentModel;
using System.Drawing;
using System.IO.Ports;
using System.Linq;
using System.Threading;
using System.Timers;
using System.Windows.Forms;
using ICP_MS.Plugin.AutoSample.Properties;
using XML;

namespace ICP_MS.Plugin.AutoSample;

public class FormAutosampler : Form
{
	private Color MeasuringColor = Color.Blue;

	private Color MeasuredSample = Color.DarkBlue;

	private System.Timers.Timer timer;

	private IContainer components = null;

	private GroupBox groupBoxRack1;

	private GroupBox groupBoxRack4;

	private GroupBox groupBoxRack2;

	private GroupBox groupBoxRack3;

	private TableLayoutPanel tableLayoutPanelLeft;

	private GroupBox groupBoxCommunication;

	private ComboBox comboBoxBaudRate;

	private Label labelSerialSpeed;

	private ComboBox comboBoxSerialPort;

	private Label labelSerialPort;

	private GroupBox groupBoxRinse;

	private Button buttonRinse;

	private GroupBox groupBoxPump;

	private Label labelPumpStatus;

	private Label labelPumpSpeed;

	private NumericUpDown numericUpDownPumpSpeed;

	private GroupBox groupBoxChosenRack;

	private NumericUpDown numericUpDownVialNumber;

	private NumericUpDown numericUpDownRackNumber;

	private Button buttonMoveProbeABS;

	private Label labelVialNumber;

	private Label labelRackNumber;

	private ComboBox comboBoxPattern;

	private Label labelPattern;

	private TableLayoutPanel tableLayoutPanelMain;

	private TableLayoutPanel tableLayoutPanelSample;

	private GroupBox groupBoxSampleSetup;

	private Label labelZSpeed;

	private Label labelXYSpeed;

	private NumericUpDown numericUpDownZDepth;

	private Label labelZDepth;

	private Button buttonHome;

	private Button buttonDown;

	private Button buttonHomeY;

	private Button buttonHomeX;

	private Button buttonSetXYZSpeed;

	private Button buttonPark;

	private TableLayoutPanel tableLayoutPanelSample3;

	private Label labelRack3Sample2;

	private Label labelRack3Sample21;

	private Label labelRack3Sample1;

	private Label labelRack3Sample18;

	private Label labelRack3Sample4;

	private Label labelRack3Sample5;

	private Label labelRack3Sample7;

	private Label labelRack3Sample9;

	private Label labelRack3Sample8;

	private Label labelRack3Sample6;

	private Label labelRack3Sample10;

	private Label labelRack3Sample3;

	private Label labelRack3Sample11;

	private Label labelRack3Sample20;

	private Label labelRack3Sample13;

	private Label labelRack3Sample19;

	private Label labelRack3Sample14;

	private Label labelRack3Sample16;

	private Label labelRack3Sample17;

	private Label labelRack3Sample12;

	private Label labelRack3Sample15;

	private TableLayoutPanel tableLayoutPanelSample2;

	private Label labelRack2Sample2;

	private Label labelRack2Sample21;

	private Label labelRack2Sample1;

	private Label labelRack2Sample18;

	private Label labelRack2Sample4;

	private Label labelRack2Sample5;

	private Label labelRack2Sample7;

	private Label labelRack2Sample9;

	private Label labelRack2Sample8;

	private Label labelRack2Sample6;

	private Label labelRack2Sample10;

	private Label labelRack2Sample3;

	private Label labelRack2Sample11;

	private Label labelRack2Sample20;

	private Label labelRack2Sample13;

	private Label labelRack2Sample19;

	private Label labelRack2Sample14;

	private Label labelRack2Sample16;

	private Label labelRack2Sample17;

	private Label labelRack2Sample12;

	private Label labelRack2Sample15;

	private Label labelSampleNumber;

	private TextBox textBoxSampleNumber;

	private TableLayoutPanel tableLayoutPanelSample1;

	private Label labelRack1Sample2;

	private Label labelRack1Sample21;

	private Label labelRack1Sample1;

	private Label labelRack1Sample18;

	private Label labelRack1Sample4;

	private Label labelRack1Sample5;

	private Label labelRack1Sample7;

	private Label labelRack1Sample9;

	private Label labelRack1Sample8;

	private Label labelRack1Sample6;

	private Label labelRack1Sample10;

	private Label labelRack1Sample3;

	private Label labelRack1Sample11;

	private Label labelRack1Sample20;

	private Label labelRack1Sample13;

	private Label labelRack1Sample19;

	private Label labelRack1Sample14;

	private Label labelRack1Sample16;

	private Label labelRack1Sample17;

	private Label labelRack1Sample12;

	private Label labelRack1Sample15;

	private TableLayoutPanel tableLayoutPanelSample4;

	private Label labelRack4Sample2;

	private Label labelRack4Sample21;

	private Label labelRack4Sample1;

	private Label labelRack4Sample18;

	private Label labelRack4Sample4;

	private Label labelRack4Sample5;

	private Label labelRack4Sample7;

	private Label labelRack4Sample9;

	private Label labelRack4Sample8;

	private Label labelRack4Sample6;

	private Label labelRack4Sample10;

	private Label labelRack4Sample3;

	private Label labelRack4Sample11;

	private Label labelRack4Sample20;

	private Label labelRack4Sample13;

	private Label labelRack4Sample19;

	private Label labelRack4Sample14;

	private Label labelRack4Sample16;

	private Label labelRack4Sample17;

	private Label labelRack4Sample12;

	private Label labelRack4Sample15;

	private ComboBox comboBoxZSpeed;

	private ComboBox comboBoxXYSpeed;

	private Button buttonSetupPumpSpeed;

	private Button buttonSaveSpeed;

	private Label labelZDepthUnit;

	private Button buttonUP;

	private Label label3;

	private NumericUpDown numericUpDownZLocation;

	private Label labelZLocation;

	private Button buttonSaveXYZSpeed;

	private GroupBox groupBoxOther;

	private Button buttonPause;

	private NumericUpDown numericUpDownPause;

	private Button buttonVersion;

	private RichTextBox richTextBoxVersion;

	private Panel panel1;

	private Panel panel4;

	private Panel panel3;

	private Panel panel2;

	private Label labelZLevel;

	private Label labelXYLevel;

	private Button buttonLightColor;

	private Button buttonHomeZ;

	private Label labelSecond;

	private Button btnOpenSerial;

	private Button btnOpenPeristic;

	private Panel panel5;

	private Panel panel6;

	private GroupBox groupBoxStandard;

	private TableLayoutPanel tableLayoutPanelStandardSample;

	private Label labelStandard1;

	private Label labelStandard10;

	private Label labelStandard2;

	private Label labelStandard9;

	private Label labelStandard3;

	private Label labelStandard4;

	private Label labelStandard7;

	private Label labelStandard5;

	private Label labelStandard6;

	private Label labelStandard8;

	private NumericUpDown numericRinse;

	public FormAutosampler()
	{
		base.Visible = false;
		InitializeComponent();
		LoadSettings();
		base.Visible = true;
		AutoSampler.Instance.ZDepth = numericUpDownZDepth.Value;
		string[] portNames = SerialPort.GetPortNames();
		string[] array = portNames;
		foreach (string portName in array)
		{
			comboBoxSerialPort.Items.Add(portName);
		}
	}

	private void buttonMoveProbeABS_Click(object sender, EventArgs e)
	{
		try
		{
			string depth = numericUpDownZLocation.Value.ToString();
			int rackNumber = Convert.ToInt16(numericUpDownRackNumber.Value);
			int vialNumber = Convert.ToInt16(numericUpDownVialNumber.Value);
			AutoSampler.Instance.MoveProbeABS(rackNumber, vialNumber, depth);
			Label label = new Label();
			if (rackNumber == 0)
			{
				foreach (object obj in tableLayoutPanelStandardSample.Controls)
				{
					Type type = ((Control)obj).GetType();
					if (type == typeof(Label) && ((Control)obj).Name == "labelStandard" + vialNumber)
					{
						label = (Label)obj;
						break;
					}
				}
			}
			else
			{
				TableLayoutPanel tempPanel = new TableLayoutPanel();
				switch (rackNumber)
				{
				case 1:
					tempPanel = tableLayoutPanelSample1;
					break;
				case 2:
					tempPanel = tableLayoutPanelSample2;
					break;
				case 3:
					tempPanel = tableLayoutPanelSample3;
					break;
				case 4:
					tempPanel = tableLayoutPanelSample4;
					break;
				}
				foreach (object obj2 in tempPanel.Controls)
				{
					Type type2 = ((Control)obj2).GetType();
					if (type2 == typeof(Label) && ((Control)obj2).Name == "labelRack" + rackNumber + "Sample" + vialNumber)
					{
						label = (Label)obj2;
						break;
					}
				}
			}
			label.Image = Resources.SampleRun;
			label.Image.Tag = "SampleRun";
		}
		catch (Exception ex)
		{
			MessageBox.Show(ex.Message);
		}
	}

	private void comboBoxSerialPort_SelectedIndexChanged(object sender, EventArgs e)
	{
		if (comboBoxSerialPort.SelectedIndex != -1)
		{
			AutoSampler.Instance.cominfo.PortName = comboBoxSerialPort.SelectedItem.ToString();
			try
			{
				XML.XMLFile.Save(Application.StartupPath + "\\AutoSamplerConfig\\cominfo.xml", AutoSampler.Instance.cominfo);
			}
			catch (Exception ex)
			{
				MessageBox.Show(ex.Message);
			}
		}
	}

	private void comboBoxBaudRate_SelectedIndexChanged(object sender, EventArgs e)
	{
	}

	private void FormAutosampler_FormClosing(object sender, FormClosingEventArgs e)
	{
		AutoSampler.IsAutoSamplerChangedEvent = (EventHandler)Delegate.Remove(AutoSampler.IsAutoSamplerChangedEvent, new EventHandler(AutoSamplerChanged));
	}

	public void ChangeSampleImage()
	{
		int column = AutoSampler.Instance.AutoSamplerPositionConfigReal.StdNumber;
		for (int m = 0; m < AutoSampler.Instance.AutoSamplerPositionConfigReal.StdNumber; m++)
		{
			Label label5 = (Label)tableLayoutPanelStandardSample.GetControlFromPosition(m % column, m / column);
			label5.Image = Resources.sampleEnableFalse;
			label5.Image.Tag = "sampleEnableFalse";
		}
		if (AutoSampler.Instance.AutoSamplerPositionConfigReal.SamplePositionList.Count >= 1)
		{
			column = AutoSampler.Instance.AutoSamplerPositionConfigReal.SamplePositionList[0].Columns;
			for (int l = 0; l < AutoSampler.Instance.SampleNumber1; l++)
			{
				Label label4 = (Label)tableLayoutPanelSample1.GetControlFromPosition(l % column, l / column);
				label4.Image = Resources.sampleEnableFalse;
				label4.Image.Tag = "sampleEnableFalse";
			}
		}
		if (AutoSampler.Instance.AutoSamplerPositionConfigReal.SamplePositionList.Count >= 2)
		{
			column = AutoSampler.Instance.AutoSamplerPositionConfigReal.SamplePositionList[1].Columns;
			for (int k = 0; k < AutoSampler.Instance.SampleNumber2; k++)
			{
				Label label3 = (Label)tableLayoutPanelSample2.GetControlFromPosition(k % column, k / column);
				label3.Image = Resources.sampleEnableFalse;
				label3.Image.Tag = "sampleEnableFalse";
			}
		}
		if (AutoSampler.Instance.AutoSamplerPositionConfigReal.SamplePositionList.Count >= 3)
		{
			column = AutoSampler.Instance.AutoSamplerPositionConfigReal.SamplePositionList[2].Columns;
			for (int j = 0; j < AutoSampler.Instance.SampleNumber3; j++)
			{
				Label label2 = (Label)tableLayoutPanelSample3.GetControlFromPosition(j % column, j / column);
				label2.Image = Resources.sampleEnableFalse;
				label2.Image.Tag = "sampleEnableFalse";
			}
		}
		if (AutoSampler.Instance.AutoSamplerPositionConfigReal.SamplePositionList.Count >= 4)
		{
			column = AutoSampler.Instance.AutoSamplerPositionConfigReal.SamplePositionList[3].Columns;
			for (int i = 0; i < AutoSampler.Instance.SampleNumber4; i++)
			{
				Label label = (Label)tableLayoutPanelSample4.GetControlFromPosition(i % column, i / column);
				label.Image = Resources.sampleEnableFalse;
				label.Image.Tag = "sampleEnableFalse";
			}
		}
	}

	public void ChangeSampleNumber(string number, TableLayoutPanel tablePanel, Panel panel, string rackNumber)
	{
		int tempNumber = 0;
		int column = 0;
		tablePanel.Controls.Clear();
		switch (number)
		{
		case "21":
			column = 3;
			break;
		case "24":
			column = 3;
			break;
		case "40":
			column = 4;
			break;
		case "60":
			column = 5;
			break;
		case "90":
			column = 6;
			break;
		default:
			number = "21";
			column = 3;
			break;
		}
		tablePanel.GrowStyle = TableLayoutPanelGrowStyle.AddRows;
		tablePanel.GrowStyle = TableLayoutPanelGrowStyle.AddColumns;
		tablePanel.ColumnCount = column;
		tablePanel.RowCount = int.Parse(number) / column;
		tablePanel.RowStyles.Clear();
		tablePanel.ColumnStyles.Clear();
		Size size = new Size(Resources.sample.Size.Width * column, Resources.sample.Size.Height * tablePanel.RowCount);
		if (size.Width < panel.Width)
		{
			size.Width = panel.Width;
		}
		if (size.Height < panel.Height)
		{
			size.Height = panel.Height;
		}
		tablePanel.Size = size;
		for (int l = 0; l < column; l++)
		{
			tablePanel.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 100f / (float)column));
		}
		for (int k = 0; k < int.Parse(number) / column; k++)
		{
			tablePanel.RowStyles.Add(new RowStyle(SizeType.Percent, 100f / (float)(int.Parse(number) / column)));
		}
		int num = int.Parse(number);
		if (num == 21)
		{
			for (int i = 0; i < int.Parse(number); i++)
			{
				Label label = new Label();
				label.Name = "labelRack" + rackNumber + "Sample" + (tempNumber + 1);
				label.TabIndex = tempNumber + 1;
				label.Text = (tempNumber + 1).ToString();
				label.Font = new Font("宋体", 15.75f, FontStyle.Bold, GraphicsUnit.Point, 134);
				label.ForeColor = Color.Black;
				label.Image = Resources.sampleEnableFalse;
				label.Size = Resources.sample.Size;
				label.Image.Tag = "sampleEnableFalse";
				label.Margin = new Padding(3);
				label.TextAlign = ContentAlignment.MiddleCenter;
				label.ImageAlign = ContentAlignment.MiddleCenter;
				label.Dock = DockStyle.Fill;
				label.MouseDown += label_Click;
				tablePanel.Controls.Add(label, tempNumber / 7, tempNumber % 7);
				int a = tempNumber % column;
				int b = tempNumber / column;
				tempNumber++;
			}
			return;
		}
		for (int j = 0; j < int.Parse(number); j++)
		{
			Label label2 = new Label();
			label2.Name = "labelRack" + rackNumber + "Sample" + (tempNumber + 1);
			label2.TabIndex = tempNumber + 1;
			label2.Text = (tempNumber + 1).ToString();
			label2.Font = new Font("宋体", 15.75f, FontStyle.Bold, GraphicsUnit.Point, 134);
			label2.ForeColor = Color.Black;
			label2.Image = Resources.sampleEnableFalse;
			label2.Size = Resources.sample.Size;
			label2.Image.Tag = "sampleEnableFalse";
			label2.Margin = new Padding(0);
			label2.TextAlign = ContentAlignment.MiddleCenter;
			label2.ImageAlign = ContentAlignment.MiddleCenter;
			label2.Dock = DockStyle.Fill;
			label2.MouseDown += label_Click;
			tablePanel.Controls.Add(label2, tempNumber / 12, tempNumber % 12);
			int a2 = tempNumber / 12;
			int b2 = tempNumber % 12;
			Console.WriteLine(a2 + " " + b2);
			tempNumber++;
		}
	}

	private void buttonHome_Click(object sender, EventArgs e)
	{
		AutoSampler.Instance.Home();
	}

	private void buttonHomeX_Click(object sender, EventArgs e)
	{
		Thread xRestore = new Thread(AutoSampler.Instance.XRestore);
		xRestore.Name = "xRestore";
		xRestore.Start();
	}

	private void buttonHomeY_Click(object sender, EventArgs e)
	{
		Thread yRestore = new Thread(AutoSampler.Instance.YRestore);
		yRestore.Name = "yRestore";
		yRestore.Start();
	}

	private void buttonHomeZ_Click(object sender, EventArgs e)
	{
		AutoSampler.Instance.HomeZ();
	}

	private void buttonSetupPumpSpeed_Click(object sender, EventArgs e)
	{
		AutoSampler.Instance.SetPumpSpeed(Convert.ToDouble(numericUpDownPumpSpeed.Value));
	}

	private void buttonSaveSpeed_Click(object sender, EventArgs e)
	{
		AutoSampler.Instance.StopAndSavePumpSpeed(Convert.ToDouble(numericUpDownPumpSpeed.Value));
	}

	private void buttonDown_Click(object sender, EventArgs e)
	{
		AutoSampler.Instance.SetZDepth(Convert.ToDouble(numericUpDownZDepth.Value));
	}

	private void buttonUP_Click(object sender, EventArgs e)
	{
		AutoSampler.Instance.SetZtoTop();
	}

	private void buttonSetXYZSpeed_Click(object sender, EventArgs e)
	{
		AutoSampler.Instance.SetXYZSpeed(double.Parse(comboBoxXYSpeed.Text), double.Parse(comboBoxZSpeed.Text));
	}

	private void buttonSaveXYZSpeed_Click(object sender, EventArgs e)
	{
		AutoSampler.Instance.SetAndSaveXYZSpeed(double.Parse(comboBoxXYSpeed.Text), double.Parse(comboBoxZSpeed.Text));
	}

	private void buttonRinse_Click(object sender, EventArgs e)
	{
		AutoSampler.Instance.Rinse();
		AutoSampler.Instance.SetRinseTime(Convert.ToInt32(numericRinse.Value));
	}

	private void buttonPark_Click(object sender, EventArgs e)
	{
		AutoSampler.Instance.Park();
	}

	private void buttonPause_Click(object sender, EventArgs e)
	{
		AutoSampler.Instance.Pause(Convert.ToInt32(numericUpDownPause.Value));
	}

	private void buttonRestore_Click(object sender, EventArgs e)
	{
		AutoSampler.Instance.Restore();
	}

	private void buttonVersion_Click(object sender, EventArgs e)
	{
		AutoSampler.Instance.GetVersion();
	}

	public void SetPosition(int rack, int vial, double depthNew, string sampleName)
	{
		switch (rack)
		{
		case 0:
			numericUpDownVialNumber.Maximum = AutoSampler.Instance.AutoSamplerPositionConfigReal.StdNumber;
			break;
		case 1:
			numericUpDownVialNumber.Maximum = AutoSampler.Instance.SampleNumber1;
			break;
		case 2:
			numericUpDownVialNumber.Maximum = AutoSampler.Instance.SampleNumber2;
			break;
		}
		if (rack == 3)
		{
			numericUpDownVialNumber.Maximum = AutoSampler.Instance.SampleNumber3;
		}
		if (rack == 4)
		{
			numericUpDownVialNumber.Maximum = AutoSampler.Instance.SampleNumber4;
		}
		numericUpDownRackNumber.Value = rack;
		numericUpDownVialNumber.Value = vial;
		numericUpDownZLocation.Value = (decimal)depthNew;
		textBoxSampleNumber.Text = sampleName;
		buttonMoveProbeABS_Click(null, null);
	}

	private void label_Click(object sender, MouseEventArgs e)
	{
		int rackNumber = 0;
		int vialNumber = 0;
		if (e.Button == MouseButtons.Left)
		{
			string ss = ((Label)sender).Name;
			textBoxSampleNumber.Text = "";
			numericUpDownRackNumber.Value = 0m;
			numericUpDownVialNumber.Value = 1m;
			Label label = (Label)sender;
			if (ss.IndexOf("Standard") >= 0)
			{
				label.Image = Resources.SampleRun;
				label.Image.Tag = "SampleRun";
				numericUpDownRackNumber.Value = 0m;
				if (Convert.ToInt16(numericUpDownRackNumber.Value) == 0)
				{
					numericUpDownVialNumber.Maximum = AutoSampler.Instance.AutoSamplerPositionConfigReal.StdNumber;
				}
				numericUpDownVialNumber.Value = int.Parse(ss.Substring(ss.IndexOf("Standard") + 8));
				rackNumber = 0;
				vialNumber = int.Parse(ss.Substring(ss.IndexOf("Standard") + 8));
			}
			else
			{
				numericUpDownRackNumber.Value = int.Parse(ss.Substring(ss.IndexOf("Sample") - 1, 1));
				if (Convert.ToInt16(numericUpDownRackNumber.Value) == 1)
				{
					numericUpDownVialNumber.Maximum = AutoSampler.Instance.SampleNumber1;
				}
				else if (Convert.ToInt16(numericUpDownRackNumber.Value) == 2)
				{
					numericUpDownVialNumber.Maximum = AutoSampler.Instance.SampleNumber2;
				}
				if (Convert.ToInt16(numericUpDownRackNumber.Value) == 3)
				{
					numericUpDownVialNumber.Maximum = AutoSampler.Instance.SampleNumber3;
				}
				if (Convert.ToInt16(numericUpDownRackNumber.Value) == 4)
				{
					numericUpDownVialNumber.Maximum = AutoSampler.Instance.SampleNumber4;
				}
				numericUpDownVialNumber.Value = int.Parse(ss.Substring(ss.IndexOf("Sample") + 6));
				rackNumber = int.Parse(ss.Substring(ss.IndexOf("Sample") - 1, 1));
				vialNumber = int.Parse(ss.Substring(ss.IndexOf("Sample") + 6));
				label.Image = Resources.SampleRun;
				label.Image.Tag = "SampleRun";
			}
			try
			{
				string depth = numericUpDownZLocation.Value.ToString();
				AutoSampler.Instance.MoveProbeABS(rackNumber, vialNumber, depth);
				Label label_2 = (Label)sender;
				label_2.Image = Resources.SampleRun;
				label_2.Image.Tag = "SampleRun";
				Refresh();
				return;
			}
			catch (Exception ex)
			{
				MessageBox.Show(ex.Message);
				return;
			}
		}
		if (e.Button != MouseButtons.Right)
		{
			return;
		}
		string ss2 = ((Label)sender).Name;
		if (!(sender.GetType() == typeof(Label)))
		{
			return;
		}
		if (ss2.IndexOf("Standard") >= 0)
		{
			ContextMenuStrip contextMenuStrip2 = new ContextMenuStrip();
			ToolStripMenuItem first2 = new ToolStripMenuItem(Lang.Txt("AddFormAutosampler.NumberOfSamples"));
			for (int j = 0; j < AutoSampler.Instance.StandardNumberList.Count; j++)
			{
				ToolStripMenuItem second = new ToolStripMenuItem(AutoSampler.Instance.StandardNumberList[j].ToString());
				second.Name = ss2 + "Item" + (j + 1);
				first2.DropDownItems.Add(second);
				second.Click += SampleNumber_Change;
			}
			contextMenuStrip2.Items.Add(first2);
			((Label)sender).ContextMenuStrip = contextMenuStrip2;
		}
		else
		{
			ContextMenuStrip contextMenuStrip = new ContextMenuStrip();
			ToolStripMenuItem first = new ToolStripMenuItem(Lang.Txt("AddFormAutosampler.NumberOfSamples"));
			for (int i = 0; i < AutoSampler.Instance.VialNumberList.Count; i++)
			{
				ToolStripMenuItem second2 = new ToolStripMenuItem(AutoSampler.Instance.VialNumberList[i].ToString());
				first.DropDownItems.Add(second2);
				second2.Click += SampleNumber_Change;
				second2.Name = ss2 + "Item" + (i + 1);
			}
			contextMenuStrip.Items.Add(first);
			((Label)sender).ContextMenuStrip = contextMenuStrip;
		}
	}

	private void SampleNumber_Change(object sender, EventArgs e)
	{
		string number = ((ToolStripMenuItem)sender).Text;
		string name = ((ToolStripMenuItem)sender).Name;
		if (name.IndexOf("Standard") >= 0)
		{
			if (AutoSampler.Instance.AutoSamplerPattern == "CAS 200")
			{
				LoadStandardInterface1(int.Parse(number));
			}
			else if (AutoSampler.Instance.AutoSamplerPattern == "CAS 400")
			{
				LoadStandardInterface2(int.Parse(number));
			}
			else
			{
				LoadStandardInterface(int.Parse(number));
			}
			return;
		}
		switch (name.Substring(name.IndexOf("Rack") + 4, 1))
		{
		case "1":
			if (!(number == AutoSampler.Instance.SampleNumber1.ToString()))
			{
				ChangeSampleNumber(number, tableLayoutPanelSample1, panel1, "1");
				AutoSampler.Instance.SampleNumber1 = int.Parse(number);
			}
			break;
		case "2":
			if (!(number == AutoSampler.Instance.SampleNumber2.ToString()))
			{
				ChangeSampleNumber(number, tableLayoutPanelSample2, panel2, "2");
				AutoSampler.Instance.SampleNumber2 = int.Parse(number);
			}
			break;
		case "3":
			if (!(number == AutoSampler.Instance.SampleNumber3.ToString()))
			{
				ChangeSampleNumber(number, tableLayoutPanelSample3, panel3, "3");
				AutoSampler.Instance.SampleNumber3 = int.Parse(number);
			}
			break;
		case "4":
			if (!(number == AutoSampler.Instance.SampleNumber4.ToString()))
			{
				ChangeSampleNumber(number, tableLayoutPanelSample4, panel4, "4");
				AutoSampler.Instance.SampleNumber4 = int.Parse(number);
			}
			break;
		}
	}

	public void FormAutosampler_SizeChanged(object sender, EventArgs e)
	{
	}

	public void LoadSample()
	{
		ChangeSampleNumber(AutoSampler.Instance.SampleNumber1.ToString(), tableLayoutPanelSample1, panel1, "1");
		ChangeSampleNumber(AutoSampler.Instance.SampleNumber2.ToString(), tableLayoutPanelSample2, panel2, "2");
		ChangeSampleNumber(AutoSampler.Instance.SampleNumber3.ToString(), tableLayoutPanelSample3, panel3, "3");
		ChangeSampleNumber(AutoSampler.Instance.SampleNumber4.ToString(), tableLayoutPanelSample4, panel4, "4");
	}

	private void LoadSettings()
	{
		string parameterPath = Application.StartupPath + "/AutoSamplerConfig/AutoSampler.xml";
		if (AutoSampler.Instance.AutoSamplerConfigReal.AutoSamplerParameterList.Count() == 0)
		{
			AutoSampler.Instance.LoadConfigurations();
		}
		foreach (AutoSamplerParameter autosampler in AutoSampler.Instance.AutoSamplerConfigReal.AutoSamplerParameterList)
		{
			comboBoxPattern.Items.Add(autosampler.AutoSamplerPattern);
		}
		AutoSamplerParameter obj = AutoSampler.Instance.AutoSamplerConfigReal.AutoSamplerParameterList[0];
		comboBoxPattern.Text = obj.AutoSamplerPattern;
		comboBoxSerialPort.Text = AutoSampler.Instance.cominfo.PortName;
		AutoSampler.Instance.AutoSamplerPattern = comboBoxPattern.Text;
		AutoSampler.Instance.VialNumberList.Clear();
		AutoSampler.Instance.StandardNumberList.Clear();
		comboBoxXYSpeed.Items.Clear();
		comboBoxZSpeed.Items.Clear();
		foreach (int objList4 in obj.VialNumber)
		{
			AutoSampler.Instance.VialNumberList.Add(objList4);
		}
		foreach (int objList3 in obj.StandardNumber)
		{
			AutoSampler.Instance.StandardNumberList.Add(objList3);
		}
		AutoSampler.Instance.RackNumber = obj.RackNumber;
		foreach (string objList2 in obj.XYSpeedList)
		{
			comboBoxXYSpeed.Items.Add(objList2);
		}
		comboBoxXYSpeed.Text = comboBoxXYSpeed.Items[obj.XYSpeedList.Count / 2].ToString();
		foreach (string objList in obj.ZSpeedList)
		{
			comboBoxZSpeed.Items.Add(objList);
		}
		comboBoxZSpeed.Text = comboBoxZSpeed.Items[obj.ZSpeedList.Count / 2].ToString();
		if (!(comboBoxPattern.Text != ""))
		{
			return;
		}
		parameterPath = Application.StartupPath + "/AutoSamplerConfig/" + comboBoxPattern.Text + ".xml";
		try
		{
			numericUpDownZLocation.Maximum = (decimal)AutoSampler.Instance.AutoSamplerPositionConfigReal.ZDepth;
			numericUpDownZDepth.Maximum = (decimal)AutoSampler.Instance.AutoSamplerPositionConfigReal.ZDepth;
			if (AutoSampler.Instance.AutoSamplerPositionConfigReal.SamplePositionList.Count >= 1)
			{
				AutoSampler.Instance.SampleNumber1 = AutoSampler.Instance.AutoSamplerPositionConfigReal.SamplePositionList[0].Rows * AutoSampler.Instance.AutoSamplerPositionConfigReal.SamplePositionList[0].Columns;
			}
			if (AutoSampler.Instance.AutoSamplerPositionConfigReal.SamplePositionList.Count >= 2)
			{
				AutoSampler.Instance.SampleNumber2 = AutoSampler.Instance.AutoSamplerPositionConfigReal.SamplePositionList[1].Rows * AutoSampler.Instance.AutoSamplerPositionConfigReal.SamplePositionList[1].Columns;
			}
			if (AutoSampler.Instance.AutoSamplerPositionConfigReal.SamplePositionList.Count >= 3)
			{
				AutoSampler.Instance.SampleNumber3 = AutoSampler.Instance.AutoSamplerPositionConfigReal.SamplePositionList[2].Rows * AutoSampler.Instance.AutoSamplerPositionConfigReal.SamplePositionList[2].Columns;
			}
			if (AutoSampler.Instance.AutoSamplerPositionConfigReal.SamplePositionList.Count >= 4)
			{
				AutoSampler.Instance.SampleNumber4 = AutoSampler.Instance.AutoSamplerPositionConfigReal.SamplePositionList[3].Rows * AutoSampler.Instance.AutoSamplerPositionConfigReal.SamplePositionList[3].Columns;
			}
			AutoSampler.Instance.RackNumber = AutoSampler.Instance.AutoSamplerPositionConfigReal.SamplePositionList.Count;
			numericUpDownRackNumber.Maximum = AutoSampler.Instance.RackNumber;
			if (AutoSampler.Instance.AutoSamplerPattern == "CAS 200")
			{
				LoadStandardInterface1(AutoSampler.Instance.AutoSamplerPositionConfigReal.StdNumber);
			}
			else if (AutoSampler.Instance.AutoSamplerPattern == "CAS 400")
			{
				LoadStandardInterface2(AutoSampler.Instance.AutoSamplerPositionConfigReal.StdNumber);
			}
			else
			{
				LoadStandardInterface(AutoSampler.Instance.AutoSamplerPositionConfigReal.StdNumber);
			}
			LoadRackInterface();
		}
		catch (Exception ex)
		{
			MessageBox.Show(ex.Message);
		}
	}

	private void LoadRackInterface()
	{
		tableLayoutPanelSample.Controls.Clear();
		tableLayoutPanelSample.GrowStyle = TableLayoutPanelGrowStyle.AddRows;
		tableLayoutPanelSample.GrowStyle = TableLayoutPanelGrowStyle.AddColumns;
		tableLayoutPanelSample.ColumnCount = AutoSampler.Instance.RackNumber;
		tableLayoutPanelSample.RowCount = 1;
		tableLayoutPanelSample.RowStyles.Clear();
		tableLayoutPanelSample.ColumnStyles.Clear();
		for (int i = 0; i < 1; i++)
		{
			tableLayoutPanelSample.RowStyles.Add(new RowStyle(SizeType.Percent, 100f));
		}
		for (int j = 0; j < AutoSampler.Instance.RackNumber; j++)
		{
			tableLayoutPanelSample.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 100f / (float)AutoSampler.Instance.RackNumber));
		}
		for (int k = 0; k < AutoSampler.Instance.RackNumber; k++)
		{
			switch (k)
			{
			case 0:
				tableLayoutPanelSample.Controls.Add(groupBoxRack1, k, 0);
				ChangeSampleNumber(AutoSampler.Instance.SampleNumber1.ToString(), tableLayoutPanelSample1, panel1, "1");
				break;
			case 1:
				tableLayoutPanelSample.Controls.Add(groupBoxRack2, k, 0);
				ChangeSampleNumber(AutoSampler.Instance.SampleNumber2.ToString(), tableLayoutPanelSample2, panel2, "2");
				break;
			case 2:
				tableLayoutPanelSample.Controls.Add(groupBoxRack3, k, 0);
				ChangeSampleNumber(AutoSampler.Instance.SampleNumber3.ToString(), tableLayoutPanelSample3, panel3, "3");
				break;
			case 3:
				tableLayoutPanelSample.Controls.Add(groupBoxRack4, k, 0);
				ChangeSampleNumber(AutoSampler.Instance.SampleNumber4.ToString(), tableLayoutPanelSample4, panel4, "4");
				break;
			}
		}
	}

	public void SetSingleVialImage(int rack, int vial, DataGridViewRow row)
	{
		int columnCount = 0;
		int rowCount = 0;
		switch (rack)
		{
		case 0:
			columnCount = tableLayoutPanelStandardSample.ColumnCount;
			rowCount = tableLayoutPanelStandardSample.RowCount;
			if (vial > columnCount * rowCount)
			{
				break;
			}
			try
			{
				Label label = (Label)tableLayoutPanelStandardSample.GetControlFromPosition((vial - 1) % columnCount, (vial - 1) / columnCount);
				if (row.DefaultCellStyle.BackColor == MeasuredSample)
				{
					label.Image = Resources.sampleMeasured;
					label.Image.Tag = "sampleMeasured";
				}
				else if (row.DefaultCellStyle.BackColor == MeasuringColor)
				{
					label.Image = Resources.SampleRun;
					label.Image.Tag = "SampleRun";
				}
				else
				{
					label.Image = Resources.sample;
					label.Image.Tag = "sample";
				}
				break;
			}
			catch
			{
				break;
			}
		case 1:
			columnCount = tableLayoutPanelSample1.ColumnCount;
			rowCount = tableLayoutPanelSample1.RowCount;
			if (vial > columnCount * rowCount)
			{
				break;
			}
			try
			{
				Label label = (Label)tableLayoutPanelSample1.GetControlFromPosition((vial - 1) % columnCount, (vial - 1) / columnCount);
				if (row.DefaultCellStyle.BackColor == MeasuredSample)
				{
					label.Image = Resources.sampleMeasured;
					label.Image.Tag = "sampleMeasured";
				}
				else if (row.DefaultCellStyle.BackColor == MeasuringColor)
				{
					label.Image = Resources.SampleRun;
					label.Image.Tag = "SampleRun";
				}
				else
				{
					label.Image = Resources.sample;
					label.Image.Tag = "sample";
				}
				break;
			}
			catch
			{
				break;
			}
		case 2:
			columnCount = tableLayoutPanelSample2.ColumnCount;
			rowCount = tableLayoutPanelSample2.RowCount;
			if (vial > columnCount * rowCount)
			{
				break;
			}
			try
			{
				Label label = (Label)tableLayoutPanelSample2.GetControlFromPosition((vial - 1) % columnCount, (vial - 1) / columnCount);
				if (row.DefaultCellStyle.BackColor == MeasuredSample)
				{
					label.Image = Resources.sampleMeasured;
					label.Image.Tag = "sampleMeasured";
				}
				else if (row.DefaultCellStyle.BackColor == MeasuringColor)
				{
					label.Image = Resources.SampleRun;
					label.Image.Tag = "SampleRun";
				}
				else
				{
					label.Image = Resources.sample;
					label.Image.Tag = "sample";
				}
				break;
			}
			catch
			{
				break;
			}
		case 3:
			columnCount = tableLayoutPanelSample3.ColumnCount;
			rowCount = tableLayoutPanelSample3.RowCount;
			if (vial > columnCount * rowCount)
			{
				break;
			}
			try
			{
				Label label = (Label)tableLayoutPanelSample3.GetControlFromPosition((vial - 1) % columnCount, (vial - 1) / columnCount);
				if (row.DefaultCellStyle.BackColor == MeasuredSample)
				{
					label.Image = Resources.sampleMeasured;
					label.Image.Tag = "sampleMeasured";
				}
				else if (row.DefaultCellStyle.BackColor == MeasuringColor)
				{
					label.Image = Resources.SampleRun;
					label.Image.Tag = "SampleRun";
				}
				else
				{
					label.Image = Resources.sample;
					label.Image.Tag = "sample";
				}
				break;
			}
			catch
			{
				break;
			}
		case 4:
			columnCount = tableLayoutPanelSample4.ColumnCount;
			rowCount = tableLayoutPanelSample1.RowCount;
			if (vial > columnCount * rowCount)
			{
				break;
			}
			try
			{
				Label label = (Label)tableLayoutPanelSample4.GetControlFromPosition((vial - 1) % columnCount, (vial - 1) / columnCount);
				if (row.DefaultCellStyle.BackColor == MeasuredSample)
				{
					label.Image = Resources.sampleMeasured;
					label.Image.Tag = "sampleMeasured";
				}
				else if (row.DefaultCellStyle.BackColor == MeasuringColor)
				{
					label.Image = Resources.SampleRun;
					label.Image.Tag = "SampleRun";
				}
				else
				{
					label.Image = Resources.sample;
					label.Image.Tag = "sample";
				}
				break;
			}
			catch
			{
				break;
			}
		}
	}

	public void SetVialImage()
	{
	}

	public void LoadStandardInterface(int standardNumber)
	{
		tableLayoutPanelStandardSample.Controls.Clear();
		tableLayoutPanelStandardSample.GrowStyle = TableLayoutPanelGrowStyle.AddRows;
		tableLayoutPanelStandardSample.GrowStyle = TableLayoutPanelGrowStyle.AddColumns;
		tableLayoutPanelStandardSample.ColumnCount = standardNumber;
		tableLayoutPanelStandardSample.RowCount = 1;
		tableLayoutPanelStandardSample.RowStyles.Clear();
		tableLayoutPanelStandardSample.ColumnStyles.Clear();
		for (int i = 0; i < 1; i++)
		{
			tableLayoutPanelStandardSample.RowStyles.Add(new RowStyle(SizeType.Percent, 100f));
		}
		for (int j = 0; j < standardNumber; j++)
		{
			tableLayoutPanelStandardSample.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 100f / (float)standardNumber));
		}
		for (int k = 0; k < standardNumber; k++)
		{
			Label label = new Label();
			label.Name = "labelStandard" + (k + 1);
			label.TabIndex = k + 1;
			label.Text = (k + 1).ToString();
			label.Font = new Font("宋体", 15.75f, FontStyle.Bold, GraphicsUnit.Point, 134);
			label.ForeColor = Color.Black;
			label.Image = Resources.sampleEnableFalse;
			label.Size = Resources.sample.Size;
			label.Image.Tag = "sampleEnableFalse";
			label.Margin = new Padding(0);
			label.TextAlign = ContentAlignment.MiddleCenter;
			label.ImageAlign = ContentAlignment.MiddleCenter;
			label.Dock = DockStyle.Fill;
			label.MouseDown += label_Click;
			tableLayoutPanelStandardSample.Controls.Add(label, k % standardNumber, k / standardNumber);
		}
	}

	public void LoadStandardInterface1(int standardNumber)
	{
		tableLayoutPanelStandardSample.Controls.Clear();
		tableLayoutPanelStandardSample.GrowStyle = TableLayoutPanelGrowStyle.AddRows;
		tableLayoutPanelStandardSample.GrowStyle = TableLayoutPanelGrowStyle.AddColumns;
		tableLayoutPanelStandardSample.ColumnCount = standardNumber;
		tableLayoutPanelStandardSample.RowCount = 2;
		tableLayoutPanelStandardSample.RowStyles.Clear();
		tableLayoutPanelStandardSample.ColumnStyles.Clear();
		Size size = new Size(Resources.sample.Size.Width * 5, Resources.sample.Size.Height * tableLayoutPanelStandardSample.RowCount);
		if (size.Width < panel6.Width)
		{
			size.Width = panel6.Width;
		}
		if (size.Height < panel6.Height)
		{
			size.Height = panel6.Height;
		}
		tableLayoutPanelStandardSample.Size = size;
		for (int i = 0; i < 5; i++)
		{
			tableLayoutPanelStandardSample.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 20f));
		}
		for (int j = 0; j < standardNumber / 5; j++)
		{
			tableLayoutPanelStandardSample.RowStyles.Add(new RowStyle(SizeType.Percent, 100f / (float)(standardNumber / 5)));
		}
		for (int k = 0; k < standardNumber; k++)
		{
			Label label = new Label();
			label.Name = "labelStandard" + (k + 1);
			label.TabIndex = k + 1;
			label.Text = (k + 1).ToString();
			label.Font = new Font("宋体", 15.75f, FontStyle.Bold, GraphicsUnit.Point, 134);
			label.ForeColor = Color.Black;
			label.Image = Resources.sampleEnableFalse;
			label.Size = Resources.sample.Size;
			label.Image.Tag = "sampleEnableFalse";
			label.Margin = new Padding(0);
			label.TextAlign = ContentAlignment.MiddleCenter;
			label.ImageAlign = ContentAlignment.MiddleCenter;
			label.Dock = DockStyle.Fill;
			label.MouseDown += label_Click;
			tableLayoutPanelStandardSample.Controls.Add(label, k % (standardNumber / 2), k / (standardNumber / 2));
		}
	}

	public void LoadStandardInterface2(int standardNumber)
	{
		tableLayoutPanelStandardSample.Controls.Clear();
		tableLayoutPanelStandardSample.GrowStyle = TableLayoutPanelGrowStyle.AddRows;
		tableLayoutPanelStandardSample.GrowStyle = TableLayoutPanelGrowStyle.AddColumns;
		tableLayoutPanelStandardSample.ColumnCount = standardNumber;
		tableLayoutPanelStandardSample.RowCount = 2;
		tableLayoutPanelStandardSample.RowStyles.Clear();
		tableLayoutPanelStandardSample.ColumnStyles.Clear();
		Size size = new Size(Resources.sample.Size.Width * 19, Resources.sample.Size.Height * tableLayoutPanelStandardSample.RowCount);
		if (size.Width < panel6.Width)
		{
			size.Width = panel6.Width;
		}
		if (size.Height < panel6.Height)
		{
			size.Height = panel6.Height;
		}
		tableLayoutPanelStandardSample.Size = size;
		for (int i = 0; i < 10; i++)
		{
			tableLayoutPanelStandardSample.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 10f));
		}
		for (int j = 0; j < standardNumber / 10; j++)
		{
			tableLayoutPanelStandardSample.RowStyles.Add(new RowStyle(SizeType.Percent, 100f / (float)(standardNumber / 10)));
		}
		for (int k = 0; k < standardNumber; k++)
		{
			Label label = new Label();
			label.Name = "labelStandard" + (k + 1);
			label.TabIndex = k + 1;
			label.Text = (k + 1).ToString();
			label.Font = new Font("宋体", 15.75f, FontStyle.Bold, GraphicsUnit.Point, 134);
			label.ForeColor = Color.Black;
			label.Image = Resources.sampleEnableFalse;
			label.Size = Resources.sample.Size;
			label.Image.Tag = "sampleEnableFalse";
			label.Margin = new Padding(0);
			label.TextAlign = ContentAlignment.MiddleCenter;
			label.ImageAlign = ContentAlignment.MiddleCenter;
			label.Dock = DockStyle.Fill;
			label.MouseDown += label_Click;
			tableLayoutPanelStandardSample.Controls.Add(label, k % (standardNumber / 2), k / (standardNumber / 2));
		}
	}

	private void FormAutosampler_Load(object sender, EventArgs e)
	{
		ApplyResources();
		btnOpenSerial.Text = ((!AutoSampler.Instance.IsOpenState) ? Lang.Txt("AddFormAutosampler.Open") : Lang.Txt("AddFormAutosampler.Close"));
		comboBoxSerialPort.Text = AutoSampler.Instance.cominfo.PortName;
		AutoSampler.IsAutoSamplerChangedEvent = (EventHandler)Delegate.Combine(AutoSampler.IsAutoSamplerChangedEvent, new EventHandler(AutoSamplerChanged));
		AutoSamplerChanged(null, null);
		OpenStateEvent(null, null);
		AutoSampler.IsOpenStateChanged = (EventHandler)Delegate.Combine(AutoSampler.IsOpenStateChanged, new EventHandler(OpenStateEvent));
	}

	private void TimerElasped(object sender, ElapsedEventArgs e)
	{
		AutoSampler.Instance.Home();
		timer.Stop();
	}

	private void OpenStateEvent(object sender, EventArgs e)
	{
		groupBoxChosenRack.Enabled = AutoSampler.Instance.IsOpenState;
		groupBoxOther.Enabled = AutoSampler.Instance.IsOpenState;
		groupBoxPump.Enabled = AutoSampler.Instance.IsOpenState;
		groupBoxRack1.Enabled = AutoSampler.Instance.IsOpenState;
		groupBoxRack2.Enabled = AutoSampler.Instance.IsOpenState;
		groupBoxRack3.Enabled = AutoSampler.Instance.IsOpenState;
		groupBoxRack4.Enabled = AutoSampler.Instance.IsOpenState;
		groupBoxRinse.Enabled = AutoSampler.Instance.IsOpenState;
		groupBoxSampleSetup.Enabled = AutoSampler.Instance.IsOpenState;
		groupBoxStandard.Enabled = AutoSampler.Instance.IsOpenState;
	}

	private void AutoSamplerChanged(object sender, EventArgs e)
	{
		groupBoxStandard.Enabled = !AutoSampler.Instance.IsAutoSampler;
		groupBoxRack1.Enabled = !AutoSampler.Instance.IsAutoSampler;
		groupBoxRack2.Enabled = !AutoSampler.Instance.IsAutoSampler;
		groupBoxRack3.Enabled = !AutoSampler.Instance.IsAutoSampler;
		groupBoxRack4.Enabled = !AutoSampler.Instance.IsAutoSampler;
		groupBoxChosenRack.Enabled = !AutoSampler.Instance.IsAutoSampler;
		groupBoxSampleSetup.Enabled = !AutoSampler.Instance.IsAutoSampler;
		groupBoxRinse.Enabled = !AutoSampler.Instance.IsAutoSampler;
		groupBoxOther.Enabled = !AutoSampler.Instance.IsAutoSampler;
		groupBoxPump.Enabled = !AutoSampler.Instance.IsAutoSampler;
		groupBoxCommunication.Enabled = !AutoSampler.Instance.IsAutoSampler;
	}

	public void ApplyResources()
	{
		Text = Lang.Txt("AddFormAutosampler.Text");
		groupBoxStandard.Text = Lang.Txt("AddFormAutosampler.Specimen");
		groupBoxRack1.Text = Lang.Txt("AddFormAutosampler.SampleHolder") + "1";
		groupBoxRack2.Text = Lang.Txt("AddFormAutosampler.SampleHolder") + "2";
		groupBoxRack3.Text = Lang.Txt("AddFormAutosampler.SampleHolder") + "3";
		groupBoxRack4.Text = Lang.Txt("AddFormAutosampler.SampleHolder") + "4";
		labelPattern.Text = Lang.Txt("AddFormAutosampler.Type");
		groupBoxChosenRack.Text = Lang.Txt("AddFormAutosampler.ProbePosition");
		labelRackNumber.Text = Lang.Txt("AddFormAutosampler.SampleHolder");
		labelVialNumber.Text = Lang.Txt("AddFormAutosampler.TubeNumber");
		labelZLocation.Text = Lang.Txt("AddFormAutosampler.ZDepth");
		labelSampleNumber.Text = Lang.Txt("AddFormAutosampler.SampleNumber");
		buttonMoveProbeABS.Text = Lang.Txt("AddFormAutosampler.Move");
		groupBoxSampleSetup.Text = Lang.Txt("AddFormAutosampler.GetSample");
		labelXYSpeed.Text = Lang.Txt("AddFormAutosampler.XYSpeed");
		labelZSpeed.Text = Lang.Txt("AddFormAutosampler.ZSpeed");
		labelZDepth.Text = Lang.Txt("AddFormAutosampler.ZDepth");
		buttonSetXYZSpeed.Text = Lang.Txt("AddFormAutosampler.Set");
		buttonSaveXYZSpeed.Text = Lang.Txt("AddFormAutosampler.Save");
		buttonHome.Text = Lang.Txt("AddFormAutosampler.Reset");
		buttonHomeX.Text = "X" + Lang.Txt("AddFormAutosampler.Reset");
		buttonHomeY.Text = "Y" + Lang.Txt("AddFormAutosampler.Reset");
		buttonHomeZ.Text = "Z" + Lang.Txt("AddFormAutosampler.Reset");
		labelXYLevel.Text = Lang.Txt("AddFormAutosampler.Lv");
		labelZLevel.Text = Lang.Txt("AddFormAutosampler.Lv");
		buttonSaveSpeed.Text = Lang.Txt("AddFormAutosampler.Save");
		buttonSetupPumpSpeed.Text = Lang.Txt("AddFormAutosampler.Set");
		groupBoxPump.Text = Lang.Txt("AddFormAutosampler.PeristalticPump");
		labelPumpStatus.Text = Lang.Txt("AddFormAutosampler.State");
		labelPumpSpeed.Text = Lang.Txt("AddFormAutosampler.Speed");
		groupBoxRinse.Text = Lang.Txt("AddFormAutosampler.Wash");
		buttonRinse.Text = Lang.Txt("AddFormAutosampler.Wash");
		groupBoxCommunication.Text = Lang.Txt("AddFormAutosampler.Communication");
		labelSerialPort.Text = Lang.Txt("AddFormAutosampler.Serial");
		labelSerialSpeed.Text = Lang.Txt("AddFormAutosampler.Rate");
		btnOpenPeristic.Text = Lang.Txt("AddFormAutosampler.Open");
		btnOpenSerial.Text = Lang.Txt("AddFormAutosampler.Open");
		groupBoxOther.Text = Lang.Txt("AddFormAutosampler.Other");
		labelSecond.Text = Lang.Txt("AddFormAutosampler.Second");
		buttonPause.Text = Lang.Txt("AddFormAutosampler.Pause");
		buttonVersion.Text = Lang.Txt("AddFormAutosampler.Version");
		buttonLightColor.Text = Lang.Txt("AddFormAutosampler.IndicatorColor");
	}

	private void myButtonCheckSerialSwitch_Click(object sender, EventArgs e)
	{
	}

	private void buttonLightColor_Click(object sender, EventArgs e)
	{
		ColorDialog colorDialog = new ColorDialog();
		Color chosenColor = default(Color);
		if (colorDialog.ShowDialog() == DialogResult.OK)
		{
			chosenColor = colorDialog.Color;
			AutoSampler.Instance.ChangeLightColor(chosenColor);
		}
	}

	private void comboBoxZSpeed_TextChanged(object sender, EventArgs e)
	{
		if (comboBoxZSpeed.Text != "" && Convert.ToInt16(comboBoxZSpeed.Text) >= comboBoxZSpeed.Items.Count)
		{
			MessageBox.Show(Lang.Txt("AddFormAutosampler.SpeedOutRange"));
			comboBoxZSpeed.Text = "0";
		}
	}

	private void comboBoxXYSpeed_TextChanged(object sender, EventArgs e)
	{
		if (comboBoxXYSpeed.Text != "" && Convert.ToInt16(comboBoxXYSpeed.Text) >= comboBoxXYSpeed.Items.Count)
		{
			MessageBox.Show(Lang.Txt("AddFormAutosampler.SpeedOutRange"));
			comboBoxXYSpeed.Text = "0";
		}
	}

	private void numericUpDownZLocation_ValueChanged(object sender, EventArgs e)
	{
	}

	private void numericUpDownVialNumber_ValueChanged(object sender, EventArgs e)
	{
		if (Convert.ToInt16(numericUpDownRackNumber.Value) == 0)
		{
			numericUpDownVialNumber.Maximum = AutoSampler.Instance.AutoSamplerPositionConfigReal.StdNumber;
		}
		else if (Convert.ToInt16(numericUpDownRackNumber.Value) == 1)
		{
			numericUpDownVialNumber.Maximum = AutoSampler.Instance.SampleNumber1;
		}
		else if (Convert.ToInt16(numericUpDownRackNumber.Value) == 2)
		{
			numericUpDownVialNumber.Maximum = AutoSampler.Instance.SampleNumber2;
		}
		if (Convert.ToInt16(numericUpDownRackNumber.Value) == 3)
		{
			numericUpDownVialNumber.Maximum = AutoSampler.Instance.SampleNumber3;
		}
		if (Convert.ToInt16(numericUpDownRackNumber.Value) == 4)
		{
			numericUpDownVialNumber.Maximum = AutoSampler.Instance.SampleNumber4;
		}
	}

	private void btnOpenPeristic_Click(object sender, EventArgs e)
	{
		if (btnOpenPeristic.Text == Lang.Txt("AddFormAutosampler.Open"))
		{
			AutoSampler.Instance.OpenPump();
			btnOpenPeristic.Text = Lang.Txt("AddFormAutosampler.Close");
		}
		else
		{
			AutoSampler.Instance.ClosePump();
			btnOpenPeristic.Text = Lang.Txt("AddFormAutosampler.Open");
		}
	}

	private void btnOpenSerial_Click(object sender, EventArgs e)
	{
		if (!AutoSampler.Instance.IsOpenState)
		{
			AutoSampler.Instance.OpenSerial();
		}
		else
		{
			AutoSampler.Instance.CloseSerialPort();
		}
		btnOpenSerial.Text = ((!AutoSampler.Instance.IsOpenState) ? Lang.Txt("AddFormAutosampler.Open") : Lang.Txt("AddFormAutosampler.Close"));
	}

	private void groupBoxChosenRack_Enter(object sender, EventArgs e)
	{
	}

	private void labelSerialSpeed_Click(object sender, EventArgs e)
	{
	}

	private void comboBoxPattern_SelectedIndexChanged(object sender, EventArgs e)
	{
		int index = comboBoxPattern.SelectedIndex;
		if (index == -1)
		{
			return;
		}
		AutoSamplerParameter obj = AutoSampler.Instance.AutoSamplerConfigReal.AutoSamplerParameterList[index];
		AutoSampler.Instance.AutoSamplerConfigReal.AutoSamplerParameterList.RemoveAt(index);
		AutoSampler.Instance.AutoSamplerConfigReal.AutoSamplerParameterList.Insert(0, obj);
		string parameterPath = Application.StartupPath + "/AutoSamplerConfig/AutoSampler.xml";
		XML.XMLFile.Save(parameterPath, AutoSampler.Instance.AutoSamplerConfigReal);
		AutoSampler.Instance.LoadConfigurations();
		AutoSampler.Instance.AutoSamplerPattern = comboBoxPattern.Text;
		AutoSampler.Instance.VialNumberList.Clear();
		AutoSampler.Instance.StandardNumberList.Clear();
		comboBoxXYSpeed.Items.Clear();
		comboBoxZSpeed.Items.Clear();
		foreach (int objList4 in obj.VialNumber)
		{
			AutoSampler.Instance.VialNumberList.Add(objList4);
		}
		foreach (int objList3 in obj.StandardNumber)
		{
			AutoSampler.Instance.StandardNumberList.Add(objList3);
		}
		AutoSampler.Instance.RackNumber = obj.RackNumber;
		foreach (string objList2 in obj.XYSpeedList)
		{
			comboBoxXYSpeed.Items.Add(objList2);
		}
		comboBoxXYSpeed.Text = comboBoxXYSpeed.Items[obj.XYSpeedList.Count / 2].ToString();
		foreach (string objList in obj.ZSpeedList)
		{
			comboBoxZSpeed.Items.Add(objList);
		}
		comboBoxZSpeed.Text = comboBoxZSpeed.Items[obj.ZSpeedList.Count / 2].ToString();
		if (!(comboBoxPattern.Text != ""))
		{
			return;
		}
		parameterPath = Application.StartupPath + "/AutoSamplerConfig/" + comboBoxPattern.Text + ".xml";
		try
		{
			numericUpDownZLocation.Maximum = (decimal)AutoSampler.Instance.AutoSamplerPositionConfigReal.ZDepth;
			numericUpDownZDepth.Maximum = (decimal)AutoSampler.Instance.AutoSamplerPositionConfigReal.ZDepth;
			if (AutoSampler.Instance.AutoSamplerPositionConfigReal.SamplePositionList.Count >= 1)
			{
				AutoSampler.Instance.SampleNumber1 = AutoSampler.Instance.AutoSamplerPositionConfigReal.SamplePositionList[0].Rows * AutoSampler.Instance.AutoSamplerPositionConfigReal.SamplePositionList[0].Columns;
			}
			if (AutoSampler.Instance.AutoSamplerPositionConfigReal.SamplePositionList.Count >= 2)
			{
				AutoSampler.Instance.SampleNumber2 = AutoSampler.Instance.AutoSamplerPositionConfigReal.SamplePositionList[1].Rows * AutoSampler.Instance.AutoSamplerPositionConfigReal.SamplePositionList[1].Columns;
			}
			if (AutoSampler.Instance.AutoSamplerPositionConfigReal.SamplePositionList.Count >= 3)
			{
				AutoSampler.Instance.SampleNumber3 = AutoSampler.Instance.AutoSamplerPositionConfigReal.SamplePositionList[2].Rows * AutoSampler.Instance.AutoSamplerPositionConfigReal.SamplePositionList[2].Columns;
			}
			if (AutoSampler.Instance.AutoSamplerPositionConfigReal.SamplePositionList.Count >= 4)
			{
				AutoSampler.Instance.SampleNumber4 = AutoSampler.Instance.AutoSamplerPositionConfigReal.SamplePositionList[3].Rows * AutoSampler.Instance.AutoSamplerPositionConfigReal.SamplePositionList[3].Columns;
			}
			AutoSampler.Instance.RackNumber = AutoSampler.Instance.AutoSamplerPositionConfigReal.SamplePositionList.Count;
			numericUpDownRackNumber.Maximum = AutoSampler.Instance.RackNumber;
			if (AutoSampler.Instance.AutoSamplerPattern == "CAS 200")
			{
				LoadStandardInterface1(AutoSampler.Instance.AutoSamplerPositionConfigReal.StdNumber);
			}
			else if (AutoSampler.Instance.AutoSamplerPattern == "CAS 400")
			{
				LoadStandardInterface2(AutoSampler.Instance.AutoSamplerPositionConfigReal.StdNumber);
			}
			else
			{
				LoadStandardInterface(AutoSampler.Instance.AutoSamplerPositionConfigReal.StdNumber);
			}
			LoadRackInterface();
		}
		catch (Exception ex)
		{
			MessageBox.Show(ex.Message);
		}
	}

	protected override void Dispose(bool disposing)
	{
		if (disposing && components != null)
		{
			components.Dispose();
		}
		base.Dispose(disposing);
	}

	private void InitializeComponent()
	{
		System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ICP_MS.Plugin.AutoSample.FormAutosampler));
		this.tableLayoutPanelLeft = new System.Windows.Forms.TableLayoutPanel();
		this.tableLayoutPanelSample = new System.Windows.Forms.TableLayoutPanel();
		this.groupBoxRack3 = new System.Windows.Forms.GroupBox();
		this.panel3 = new System.Windows.Forms.Panel();
		this.tableLayoutPanelSample3 = new System.Windows.Forms.TableLayoutPanel();
		this.labelRack3Sample2 = new System.Windows.Forms.Label();
		this.labelRack3Sample21 = new System.Windows.Forms.Label();
		this.labelRack3Sample1 = new System.Windows.Forms.Label();
		this.labelRack3Sample18 = new System.Windows.Forms.Label();
		this.labelRack3Sample4 = new System.Windows.Forms.Label();
		this.labelRack3Sample5 = new System.Windows.Forms.Label();
		this.labelRack3Sample7 = new System.Windows.Forms.Label();
		this.labelRack3Sample9 = new System.Windows.Forms.Label();
		this.labelRack3Sample8 = new System.Windows.Forms.Label();
		this.labelRack3Sample6 = new System.Windows.Forms.Label();
		this.labelRack3Sample10 = new System.Windows.Forms.Label();
		this.labelRack3Sample3 = new System.Windows.Forms.Label();
		this.labelRack3Sample11 = new System.Windows.Forms.Label();
		this.labelRack3Sample20 = new System.Windows.Forms.Label();
		this.labelRack3Sample13 = new System.Windows.Forms.Label();
		this.labelRack3Sample19 = new System.Windows.Forms.Label();
		this.labelRack3Sample14 = new System.Windows.Forms.Label();
		this.labelRack3Sample16 = new System.Windows.Forms.Label();
		this.labelRack3Sample17 = new System.Windows.Forms.Label();
		this.labelRack3Sample12 = new System.Windows.Forms.Label();
		this.labelRack3Sample15 = new System.Windows.Forms.Label();
		this.groupBoxRack2 = new System.Windows.Forms.GroupBox();
		this.panel2 = new System.Windows.Forms.Panel();
		this.tableLayoutPanelSample2 = new System.Windows.Forms.TableLayoutPanel();
		this.labelRack2Sample2 = new System.Windows.Forms.Label();
		this.labelRack2Sample21 = new System.Windows.Forms.Label();
		this.labelRack2Sample1 = new System.Windows.Forms.Label();
		this.labelRack2Sample18 = new System.Windows.Forms.Label();
		this.labelRack2Sample4 = new System.Windows.Forms.Label();
		this.labelRack2Sample5 = new System.Windows.Forms.Label();
		this.labelRack2Sample7 = new System.Windows.Forms.Label();
		this.labelRack2Sample9 = new System.Windows.Forms.Label();
		this.labelRack2Sample8 = new System.Windows.Forms.Label();
		this.labelRack2Sample6 = new System.Windows.Forms.Label();
		this.labelRack2Sample10 = new System.Windows.Forms.Label();
		this.labelRack2Sample3 = new System.Windows.Forms.Label();
		this.labelRack2Sample11 = new System.Windows.Forms.Label();
		this.labelRack2Sample20 = new System.Windows.Forms.Label();
		this.labelRack2Sample13 = new System.Windows.Forms.Label();
		this.labelRack2Sample19 = new System.Windows.Forms.Label();
		this.labelRack2Sample14 = new System.Windows.Forms.Label();
		this.labelRack2Sample16 = new System.Windows.Forms.Label();
		this.labelRack2Sample17 = new System.Windows.Forms.Label();
		this.labelRack2Sample12 = new System.Windows.Forms.Label();
		this.labelRack2Sample15 = new System.Windows.Forms.Label();
		this.groupBoxRack1 = new System.Windows.Forms.GroupBox();
		this.panel1 = new System.Windows.Forms.Panel();
		this.tableLayoutPanelSample1 = new System.Windows.Forms.TableLayoutPanel();
		this.labelRack1Sample2 = new System.Windows.Forms.Label();
		this.labelRack1Sample21 = new System.Windows.Forms.Label();
		this.labelRack1Sample1 = new System.Windows.Forms.Label();
		this.labelRack1Sample18 = new System.Windows.Forms.Label();
		this.labelRack1Sample4 = new System.Windows.Forms.Label();
		this.labelRack1Sample5 = new System.Windows.Forms.Label();
		this.labelRack1Sample7 = new System.Windows.Forms.Label();
		this.labelRack1Sample9 = new System.Windows.Forms.Label();
		this.labelRack1Sample8 = new System.Windows.Forms.Label();
		this.labelRack1Sample6 = new System.Windows.Forms.Label();
		this.labelRack1Sample10 = new System.Windows.Forms.Label();
		this.labelRack1Sample3 = new System.Windows.Forms.Label();
		this.labelRack1Sample11 = new System.Windows.Forms.Label();
		this.labelRack1Sample20 = new System.Windows.Forms.Label();
		this.labelRack1Sample13 = new System.Windows.Forms.Label();
		this.labelRack1Sample19 = new System.Windows.Forms.Label();
		this.labelRack1Sample14 = new System.Windows.Forms.Label();
		this.labelRack1Sample16 = new System.Windows.Forms.Label();
		this.labelRack1Sample17 = new System.Windows.Forms.Label();
		this.labelRack1Sample12 = new System.Windows.Forms.Label();
		this.labelRack1Sample15 = new System.Windows.Forms.Label();
		this.groupBoxRack4 = new System.Windows.Forms.GroupBox();
		this.panel4 = new System.Windows.Forms.Panel();
		this.tableLayoutPanelSample4 = new System.Windows.Forms.TableLayoutPanel();
		this.labelRack4Sample2 = new System.Windows.Forms.Label();
		this.labelRack4Sample21 = new System.Windows.Forms.Label();
		this.labelRack4Sample1 = new System.Windows.Forms.Label();
		this.labelRack4Sample18 = new System.Windows.Forms.Label();
		this.labelRack4Sample4 = new System.Windows.Forms.Label();
		this.labelRack4Sample5 = new System.Windows.Forms.Label();
		this.labelRack4Sample7 = new System.Windows.Forms.Label();
		this.labelRack4Sample9 = new System.Windows.Forms.Label();
		this.labelRack4Sample8 = new System.Windows.Forms.Label();
		this.labelRack4Sample6 = new System.Windows.Forms.Label();
		this.labelRack4Sample10 = new System.Windows.Forms.Label();
		this.labelRack4Sample3 = new System.Windows.Forms.Label();
		this.labelRack4Sample11 = new System.Windows.Forms.Label();
		this.labelRack4Sample20 = new System.Windows.Forms.Label();
		this.labelRack4Sample13 = new System.Windows.Forms.Label();
		this.labelRack4Sample19 = new System.Windows.Forms.Label();
		this.labelRack4Sample14 = new System.Windows.Forms.Label();
		this.labelRack4Sample16 = new System.Windows.Forms.Label();
		this.labelRack4Sample17 = new System.Windows.Forms.Label();
		this.labelRack4Sample12 = new System.Windows.Forms.Label();
		this.labelRack4Sample15 = new System.Windows.Forms.Label();
		this.panel6 = new System.Windows.Forms.Panel();
		this.groupBoxStandard = new System.Windows.Forms.GroupBox();
		this.tableLayoutPanelStandardSample = new System.Windows.Forms.TableLayoutPanel();
		this.labelStandard1 = new System.Windows.Forms.Label();
		this.labelStandard10 = new System.Windows.Forms.Label();
		this.labelStandard2 = new System.Windows.Forms.Label();
		this.labelStandard9 = new System.Windows.Forms.Label();
		this.labelStandard3 = new System.Windows.Forms.Label();
		this.labelStandard4 = new System.Windows.Forms.Label();
		this.labelStandard7 = new System.Windows.Forms.Label();
		this.labelStandard5 = new System.Windows.Forms.Label();
		this.labelStandard6 = new System.Windows.Forms.Label();
		this.labelStandard8 = new System.Windows.Forms.Label();
		this.groupBoxChosenRack = new System.Windows.Forms.GroupBox();
		this.label3 = new System.Windows.Forms.Label();
		this.labelRackNumber = new System.Windows.Forms.Label();
		this.buttonMoveProbeABS = new System.Windows.Forms.Button();
		this.labelZLocation = new System.Windows.Forms.Label();
		this.numericUpDownVialNumber = new System.Windows.Forms.NumericUpDown();
		this.numericUpDownRackNumber = new System.Windows.Forms.NumericUpDown();
		this.numericUpDownZLocation = new System.Windows.Forms.NumericUpDown();
		this.textBoxSampleNumber = new System.Windows.Forms.TextBox();
		this.labelSampleNumber = new System.Windows.Forms.Label();
		this.labelVialNumber = new System.Windows.Forms.Label();
		this.groupBoxCommunication = new System.Windows.Forms.GroupBox();
		this.comboBoxBaudRate = new System.Windows.Forms.ComboBox();
		this.labelSerialPort = new System.Windows.Forms.Label();
		this.comboBoxSerialPort = new System.Windows.Forms.ComboBox();
		this.btnOpenSerial = new System.Windows.Forms.Button();
		this.labelSerialSpeed = new System.Windows.Forms.Label();
		this.groupBoxRinse = new System.Windows.Forms.GroupBox();
		this.numericRinse = new System.Windows.Forms.NumericUpDown();
		this.buttonRinse = new System.Windows.Forms.Button();
		this.buttonPark = new System.Windows.Forms.Button();
		this.groupBoxPump = new System.Windows.Forms.GroupBox();
		this.labelPumpStatus = new System.Windows.Forms.Label();
		this.btnOpenPeristic = new System.Windows.Forms.Button();
		this.buttonSaveSpeed = new System.Windows.Forms.Button();
		this.labelPumpSpeed = new System.Windows.Forms.Label();
		this.buttonSetupPumpSpeed = new System.Windows.Forms.Button();
		this.numericUpDownPumpSpeed = new System.Windows.Forms.NumericUpDown();
		this.groupBoxSampleSetup = new System.Windows.Forms.GroupBox();
		this.labelXYSpeed = new System.Windows.Forms.Label();
		this.comboBoxZSpeed = new System.Windows.Forms.ComboBox();
		this.buttonUP = new System.Windows.Forms.Button();
		this.buttonHomeY = new System.Windows.Forms.Button();
		this.buttonSaveXYZSpeed = new System.Windows.Forms.Button();
		this.buttonHomeZ = new System.Windows.Forms.Button();
		this.labelZLevel = new System.Windows.Forms.Label();
		this.buttonSetXYZSpeed = new System.Windows.Forms.Button();
		this.buttonDown = new System.Windows.Forms.Button();
		this.numericUpDownZDepth = new System.Windows.Forms.NumericUpDown();
		this.comboBoxXYSpeed = new System.Windows.Forms.ComboBox();
		this.buttonHome = new System.Windows.Forms.Button();
		this.labelZDepthUnit = new System.Windows.Forms.Label();
		this.labelZDepth = new System.Windows.Forms.Label();
		this.labelXYLevel = new System.Windows.Forms.Label();
		this.buttonHomeX = new System.Windows.Forms.Button();
		this.labelZSpeed = new System.Windows.Forms.Label();
		this.groupBoxOther = new System.Windows.Forms.GroupBox();
		this.labelSecond = new System.Windows.Forms.Label();
		this.numericUpDownPause = new System.Windows.Forms.NumericUpDown();
		this.buttonVersion = new System.Windows.Forms.Button();
		this.buttonLightColor = new System.Windows.Forms.Button();
		this.richTextBoxVersion = new System.Windows.Forms.RichTextBox();
		this.buttonPause = new System.Windows.Forms.Button();
		this.comboBoxPattern = new System.Windows.Forms.ComboBox();
		this.labelPattern = new System.Windows.Forms.Label();
		this.tableLayoutPanelMain = new System.Windows.Forms.TableLayoutPanel();
		this.panel5 = new System.Windows.Forms.Panel();
		this.tableLayoutPanelLeft.SuspendLayout();
		this.tableLayoutPanelSample.SuspendLayout();
		this.groupBoxRack3.SuspendLayout();
		this.panel3.SuspendLayout();
		this.tableLayoutPanelSample3.SuspendLayout();
		this.groupBoxRack2.SuspendLayout();
		this.panel2.SuspendLayout();
		this.tableLayoutPanelSample2.SuspendLayout();
		this.groupBoxRack1.SuspendLayout();
		this.panel1.SuspendLayout();
		this.tableLayoutPanelSample1.SuspendLayout();
		this.groupBoxRack4.SuspendLayout();
		this.panel4.SuspendLayout();
		this.tableLayoutPanelSample4.SuspendLayout();
		this.panel6.SuspendLayout();
		this.groupBoxStandard.SuspendLayout();
		this.tableLayoutPanelStandardSample.SuspendLayout();
		this.groupBoxChosenRack.SuspendLayout();
		((System.ComponentModel.ISupportInitialize)this.numericUpDownVialNumber).BeginInit();
		((System.ComponentModel.ISupportInitialize)this.numericUpDownRackNumber).BeginInit();
		((System.ComponentModel.ISupportInitialize)this.numericUpDownZLocation).BeginInit();
		this.groupBoxCommunication.SuspendLayout();
		this.groupBoxRinse.SuspendLayout();
		((System.ComponentModel.ISupportInitialize)this.numericRinse).BeginInit();
		this.groupBoxPump.SuspendLayout();
		((System.ComponentModel.ISupportInitialize)this.numericUpDownPumpSpeed).BeginInit();
		this.groupBoxSampleSetup.SuspendLayout();
		((System.ComponentModel.ISupportInitialize)this.numericUpDownZDepth).BeginInit();
		this.groupBoxOther.SuspendLayout();
		((System.ComponentModel.ISupportInitialize)this.numericUpDownPause).BeginInit();
		this.tableLayoutPanelMain.SuspendLayout();
		this.panel5.SuspendLayout();
		base.SuspendLayout();
		this.tableLayoutPanelLeft.Anchor = System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right;
		this.tableLayoutPanelLeft.AutoSize = true;
		this.tableLayoutPanelLeft.ColumnCount = 1;
		this.tableLayoutPanelLeft.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100f));
		this.tableLayoutPanelLeft.Controls.Add(this.tableLayoutPanelSample, 0, 1);
		this.tableLayoutPanelLeft.Controls.Add(this.panel6, 0, 0);
		this.tableLayoutPanelLeft.Location = new System.Drawing.Point(4, 4);
		this.tableLayoutPanelLeft.Margin = new System.Windows.Forms.Padding(4);
		this.tableLayoutPanelLeft.Name = "tableLayoutPanelLeft";
		this.tableLayoutPanelLeft.RowCount = 3;
		this.tableLayoutPanelLeft.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 27.48538f));
		this.tableLayoutPanelLeft.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 72.51462f));
		this.tableLayoutPanelLeft.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20f));
		this.tableLayoutPanelLeft.Size = new System.Drawing.Size(1385, 1047);
		this.tableLayoutPanelLeft.TabIndex = 1;
		this.tableLayoutPanelSample.ColumnCount = 4;
		this.tableLayoutPanelSample.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 25f));
		this.tableLayoutPanelSample.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 25f));
		this.tableLayoutPanelSample.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 25f));
		this.tableLayoutPanelSample.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 25f));
		this.tableLayoutPanelSample.Controls.Add(this.groupBoxRack3, 2, 0);
		this.tableLayoutPanelSample.Controls.Add(this.groupBoxRack2, 1, 0);
		this.tableLayoutPanelSample.Controls.Add(this.groupBoxRack1, 0, 0);
		this.tableLayoutPanelSample.Controls.Add(this.groupBoxRack4, 3, 0);
		this.tableLayoutPanelSample.Dock = System.Windows.Forms.DockStyle.Fill;
		this.tableLayoutPanelSample.Location = new System.Drawing.Point(4, 286);
		this.tableLayoutPanelSample.Margin = new System.Windows.Forms.Padding(4);
		this.tableLayoutPanelSample.Name = "tableLayoutPanelSample";
		this.tableLayoutPanelSample.RowCount = 1;
		this.tableLayoutPanelSample.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100f));
		this.tableLayoutPanelSample.Size = new System.Drawing.Size(1377, 736);
		this.tableLayoutPanelSample.TabIndex = 6;
		this.groupBoxRack3.Controls.Add(this.panel3);
		this.groupBoxRack3.Dock = System.Windows.Forms.DockStyle.Fill;
		this.groupBoxRack3.Location = new System.Drawing.Point(692, 4);
		this.groupBoxRack3.Margin = new System.Windows.Forms.Padding(4);
		this.groupBoxRack3.Name = "groupBoxRack3";
		this.groupBoxRack3.Padding = new System.Windows.Forms.Padding(4);
		this.groupBoxRack3.Size = new System.Drawing.Size(336, 728);
		this.groupBoxRack3.TabIndex = 3;
		this.groupBoxRack3.TabStop = false;
		this.groupBoxRack3.Text = "试样架3";
		this.panel3.AutoScroll = true;
		this.panel3.Controls.Add(this.tableLayoutPanelSample3);
		this.panel3.Dock = System.Windows.Forms.DockStyle.Fill;
		this.panel3.Location = new System.Drawing.Point(4, 22);
		this.panel3.Margin = new System.Windows.Forms.Padding(4);
		this.panel3.Name = "panel3";
		this.panel3.Size = new System.Drawing.Size(328, 702);
		this.panel3.TabIndex = 46;
		this.tableLayoutPanelSample3.BackColor = System.Drawing.Color.Aqua;
		this.tableLayoutPanelSample3.ColumnCount = 3;
		this.tableLayoutPanelSample3.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 33.33333f));
		this.tableLayoutPanelSample3.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 33.33334f));
		this.tableLayoutPanelSample3.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 33.33334f));
		this.tableLayoutPanelSample3.Controls.Add(this.labelRack3Sample2, 1, 0);
		this.tableLayoutPanelSample3.Controls.Add(this.labelRack3Sample21, 2, 6);
		this.tableLayoutPanelSample3.Controls.Add(this.labelRack3Sample1, 0, 0);
		this.tableLayoutPanelSample3.Controls.Add(this.labelRack3Sample18, 2, 5);
		this.tableLayoutPanelSample3.Controls.Add(this.labelRack3Sample4, 0, 1);
		this.tableLayoutPanelSample3.Controls.Add(this.labelRack3Sample5, 1, 1);
		this.tableLayoutPanelSample3.Controls.Add(this.labelRack3Sample7, 0, 2);
		this.tableLayoutPanelSample3.Controls.Add(this.labelRack3Sample9, 2, 2);
		this.tableLayoutPanelSample3.Controls.Add(this.labelRack3Sample8, 1, 2);
		this.tableLayoutPanelSample3.Controls.Add(this.labelRack3Sample6, 2, 1);
		this.tableLayoutPanelSample3.Controls.Add(this.labelRack3Sample10, 0, 3);
		this.tableLayoutPanelSample3.Controls.Add(this.labelRack3Sample3, 2, 0);
		this.tableLayoutPanelSample3.Controls.Add(this.labelRack3Sample11, 1, 3);
		this.tableLayoutPanelSample3.Controls.Add(this.labelRack3Sample20, 1, 6);
		this.tableLayoutPanelSample3.Controls.Add(this.labelRack3Sample13, 0, 4);
		this.tableLayoutPanelSample3.Controls.Add(this.labelRack3Sample19, 0, 6);
		this.tableLayoutPanelSample3.Controls.Add(this.labelRack3Sample14, 1, 4);
		this.tableLayoutPanelSample3.Controls.Add(this.labelRack3Sample16, 0, 5);
		this.tableLayoutPanelSample3.Controls.Add(this.labelRack3Sample17, 1, 5);
		this.tableLayoutPanelSample3.Controls.Add(this.labelRack3Sample12, 2, 3);
		this.tableLayoutPanelSample3.Controls.Add(this.labelRack3Sample15, 2, 4);
		this.tableLayoutPanelSample3.Location = new System.Drawing.Point(4, 4);
		this.tableLayoutPanelSample3.Margin = new System.Windows.Forms.Padding(4);
		this.tableLayoutPanelSample3.Name = "tableLayoutPanelSample3";
		this.tableLayoutPanelSample3.RowCount = 7;
		this.tableLayoutPanelSample3.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 14.28572f));
		this.tableLayoutPanelSample3.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 14.28572f));
		this.tableLayoutPanelSample3.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 14.28572f));
		this.tableLayoutPanelSample3.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 14.28572f));
		this.tableLayoutPanelSample3.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 14.28572f));
		this.tableLayoutPanelSample3.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 14.28572f));
		this.tableLayoutPanelSample3.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 14.28572f));
		this.tableLayoutPanelSample3.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 25f));
		this.tableLayoutPanelSample3.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 25f));
		this.tableLayoutPanelSample3.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 25f));
		this.tableLayoutPanelSample3.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 25f));
		this.tableLayoutPanelSample3.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 25f));
		this.tableLayoutPanelSample3.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 25f));
		this.tableLayoutPanelSample3.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 25f));
		this.tableLayoutPanelSample3.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 25f));
		this.tableLayoutPanelSample3.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 25f));
		this.tableLayoutPanelSample3.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 25f));
		this.tableLayoutPanelSample3.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 25f));
		this.tableLayoutPanelSample3.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 25f));
		this.tableLayoutPanelSample3.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 25f));
		this.tableLayoutPanelSample3.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 25f));
		this.tableLayoutPanelSample3.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 25f));
		this.tableLayoutPanelSample3.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 25f));
		this.tableLayoutPanelSample3.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 25f));
		this.tableLayoutPanelSample3.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 25f));
		this.tableLayoutPanelSample3.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 25f));
		this.tableLayoutPanelSample3.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 25f));
		this.tableLayoutPanelSample3.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 25f));
		this.tableLayoutPanelSample3.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 25f));
		this.tableLayoutPanelSample3.Size = new System.Drawing.Size(279, 895);
		this.tableLayoutPanelSample3.TabIndex = 45;
		this.labelRack3Sample2.Dock = System.Windows.Forms.DockStyle.Fill;
		this.labelRack3Sample2.Font = new System.Drawing.Font("宋体", 15.75f, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 134);
		this.labelRack3Sample2.Image = (System.Drawing.Image)resources.GetObject("labelRack3Sample2.Image");
		this.labelRack3Sample2.Location = new System.Drawing.Point(92, 0);
		this.labelRack3Sample2.Margin = new System.Windows.Forms.Padding(0);
		this.labelRack3Sample2.Name = "labelRack3Sample2";
		this.labelRack3Sample2.Size = new System.Drawing.Size(93, 127);
		this.labelRack3Sample2.TabIndex = 2;
		this.labelRack3Sample2.Text = "2";
		this.labelRack3Sample2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
		this.labelRack3Sample2.MouseDown += new System.Windows.Forms.MouseEventHandler(label_Click);
		this.labelRack3Sample21.Dock = System.Windows.Forms.DockStyle.Fill;
		this.labelRack3Sample21.Font = new System.Drawing.Font("宋体", 15.75f, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 134);
		this.labelRack3Sample21.Image = (System.Drawing.Image)resources.GetObject("labelRack3Sample21.Image");
		this.labelRack3Sample21.Location = new System.Drawing.Point(185, 762);
		this.labelRack3Sample21.Margin = new System.Windows.Forms.Padding(0);
		this.labelRack3Sample21.Name = "labelRack3Sample21";
		this.labelRack3Sample21.Size = new System.Drawing.Size(94, 133);
		this.labelRack3Sample21.TabIndex = 21;
		this.labelRack3Sample21.Text = "21";
		this.labelRack3Sample21.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
		this.labelRack3Sample21.MouseDown += new System.Windows.Forms.MouseEventHandler(label_Click);
		this.labelRack3Sample1.AutoSize = true;
		this.labelRack3Sample1.Dock = System.Windows.Forms.DockStyle.Fill;
		this.labelRack3Sample1.Font = new System.Drawing.Font("宋体", 15.75f, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 134);
		this.labelRack3Sample1.Image = (System.Drawing.Image)resources.GetObject("labelRack3Sample1.Image");
		this.labelRack3Sample1.Location = new System.Drawing.Point(0, 0);
		this.labelRack3Sample1.Margin = new System.Windows.Forms.Padding(0);
		this.labelRack3Sample1.Name = "labelRack3Sample1";
		this.labelRack3Sample1.Size = new System.Drawing.Size(92, 127);
		this.labelRack3Sample1.TabIndex = 1;
		this.labelRack3Sample1.Text = "1";
		this.labelRack3Sample1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
		this.labelRack3Sample1.MouseDown += new System.Windows.Forms.MouseEventHandler(label_Click);
		this.labelRack3Sample18.Dock = System.Windows.Forms.DockStyle.Fill;
		this.labelRack3Sample18.Font = new System.Drawing.Font("宋体", 15.75f, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 134);
		this.labelRack3Sample18.Image = (System.Drawing.Image)resources.GetObject("labelRack3Sample18.Image");
		this.labelRack3Sample18.Location = new System.Drawing.Point(185, 635);
		this.labelRack3Sample18.Margin = new System.Windows.Forms.Padding(0);
		this.labelRack3Sample18.Name = "labelRack3Sample18";
		this.labelRack3Sample18.Size = new System.Drawing.Size(94, 127);
		this.labelRack3Sample18.TabIndex = 18;
		this.labelRack3Sample18.Text = "18";
		this.labelRack3Sample18.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
		this.labelRack3Sample18.MouseDown += new System.Windows.Forms.MouseEventHandler(label_Click);
		this.labelRack3Sample4.Dock = System.Windows.Forms.DockStyle.Fill;
		this.labelRack3Sample4.Font = new System.Drawing.Font("宋体", 15.75f, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 134);
		this.labelRack3Sample4.Image = (System.Drawing.Image)resources.GetObject("labelRack3Sample4.Image");
		this.labelRack3Sample4.Location = new System.Drawing.Point(0, 127);
		this.labelRack3Sample4.Margin = new System.Windows.Forms.Padding(0);
		this.labelRack3Sample4.Name = "labelRack3Sample4";
		this.labelRack3Sample4.Size = new System.Drawing.Size(92, 127);
		this.labelRack3Sample4.TabIndex = 4;
		this.labelRack3Sample4.Text = "4";
		this.labelRack3Sample4.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
		this.labelRack3Sample4.MouseDown += new System.Windows.Forms.MouseEventHandler(label_Click);
		this.labelRack3Sample5.Dock = System.Windows.Forms.DockStyle.Fill;
		this.labelRack3Sample5.Font = new System.Drawing.Font("宋体", 15.75f, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 134);
		this.labelRack3Sample5.Image = (System.Drawing.Image)resources.GetObject("labelRack3Sample5.Image");
		this.labelRack3Sample5.Location = new System.Drawing.Point(92, 127);
		this.labelRack3Sample5.Margin = new System.Windows.Forms.Padding(0);
		this.labelRack3Sample5.Name = "labelRack3Sample5";
		this.labelRack3Sample5.Size = new System.Drawing.Size(93, 127);
		this.labelRack3Sample5.TabIndex = 5;
		this.labelRack3Sample5.Text = "5";
		this.labelRack3Sample5.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
		this.labelRack3Sample5.MouseDown += new System.Windows.Forms.MouseEventHandler(label_Click);
		this.labelRack3Sample7.Dock = System.Windows.Forms.DockStyle.Fill;
		this.labelRack3Sample7.Font = new System.Drawing.Font("宋体", 15.75f, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 134);
		this.labelRack3Sample7.Image = (System.Drawing.Image)resources.GetObject("labelRack3Sample7.Image");
		this.labelRack3Sample7.Location = new System.Drawing.Point(0, 254);
		this.labelRack3Sample7.Margin = new System.Windows.Forms.Padding(0);
		this.labelRack3Sample7.Name = "labelRack3Sample7";
		this.labelRack3Sample7.Size = new System.Drawing.Size(92, 127);
		this.labelRack3Sample7.TabIndex = 7;
		this.labelRack3Sample7.Text = "7";
		this.labelRack3Sample7.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
		this.labelRack3Sample7.MouseDown += new System.Windows.Forms.MouseEventHandler(label_Click);
		this.labelRack3Sample9.Dock = System.Windows.Forms.DockStyle.Fill;
		this.labelRack3Sample9.Font = new System.Drawing.Font("宋体", 15.75f, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 134);
		this.labelRack3Sample9.Image = (System.Drawing.Image)resources.GetObject("labelRack3Sample9.Image");
		this.labelRack3Sample9.Location = new System.Drawing.Point(185, 254);
		this.labelRack3Sample9.Margin = new System.Windows.Forms.Padding(0);
		this.labelRack3Sample9.Name = "labelRack3Sample9";
		this.labelRack3Sample9.Size = new System.Drawing.Size(94, 127);
		this.labelRack3Sample9.TabIndex = 9;
		this.labelRack3Sample9.Text = "9";
		this.labelRack3Sample9.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
		this.labelRack3Sample9.MouseDown += new System.Windows.Forms.MouseEventHandler(label_Click);
		this.labelRack3Sample8.Dock = System.Windows.Forms.DockStyle.Fill;
		this.labelRack3Sample8.Font = new System.Drawing.Font("宋体", 15.75f, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 134);
		this.labelRack3Sample8.Image = (System.Drawing.Image)resources.GetObject("labelRack3Sample8.Image");
		this.labelRack3Sample8.Location = new System.Drawing.Point(92, 254);
		this.labelRack3Sample8.Margin = new System.Windows.Forms.Padding(0);
		this.labelRack3Sample8.Name = "labelRack3Sample8";
		this.labelRack3Sample8.Size = new System.Drawing.Size(93, 127);
		this.labelRack3Sample8.TabIndex = 8;
		this.labelRack3Sample8.Text = "8";
		this.labelRack3Sample8.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
		this.labelRack3Sample8.MouseDown += new System.Windows.Forms.MouseEventHandler(label_Click);
		this.labelRack3Sample6.Dock = System.Windows.Forms.DockStyle.Fill;
		this.labelRack3Sample6.Font = new System.Drawing.Font("宋体", 15.75f, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 134);
		this.labelRack3Sample6.Image = (System.Drawing.Image)resources.GetObject("labelRack3Sample6.Image");
		this.labelRack3Sample6.Location = new System.Drawing.Point(185, 127);
		this.labelRack3Sample6.Margin = new System.Windows.Forms.Padding(0);
		this.labelRack3Sample6.Name = "labelRack3Sample6";
		this.labelRack3Sample6.Size = new System.Drawing.Size(94, 127);
		this.labelRack3Sample6.TabIndex = 6;
		this.labelRack3Sample6.Text = "6";
		this.labelRack3Sample6.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
		this.labelRack3Sample6.MouseDown += new System.Windows.Forms.MouseEventHandler(label_Click);
		this.labelRack3Sample10.Dock = System.Windows.Forms.DockStyle.Fill;
		this.labelRack3Sample10.Font = new System.Drawing.Font("宋体", 15.75f, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 134);
		this.labelRack3Sample10.Image = (System.Drawing.Image)resources.GetObject("labelRack3Sample10.Image");
		this.labelRack3Sample10.Location = new System.Drawing.Point(0, 381);
		this.labelRack3Sample10.Margin = new System.Windows.Forms.Padding(0);
		this.labelRack3Sample10.Name = "labelRack3Sample10";
		this.labelRack3Sample10.Size = new System.Drawing.Size(92, 127);
		this.labelRack3Sample10.TabIndex = 10;
		this.labelRack3Sample10.Text = "10";
		this.labelRack3Sample10.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
		this.labelRack3Sample10.MouseDown += new System.Windows.Forms.MouseEventHandler(label_Click);
		this.labelRack3Sample3.Dock = System.Windows.Forms.DockStyle.Fill;
		this.labelRack3Sample3.Font = new System.Drawing.Font("宋体", 15.75f, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 134);
		this.labelRack3Sample3.Image = (System.Drawing.Image)resources.GetObject("labelRack3Sample3.Image");
		this.labelRack3Sample3.Location = new System.Drawing.Point(185, 0);
		this.labelRack3Sample3.Margin = new System.Windows.Forms.Padding(0);
		this.labelRack3Sample3.Name = "labelRack3Sample3";
		this.labelRack3Sample3.Size = new System.Drawing.Size(94, 127);
		this.labelRack3Sample3.TabIndex = 3;
		this.labelRack3Sample3.Text = "3";
		this.labelRack3Sample3.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
		this.labelRack3Sample3.MouseDown += new System.Windows.Forms.MouseEventHandler(label_Click);
		this.labelRack3Sample11.Dock = System.Windows.Forms.DockStyle.Fill;
		this.labelRack3Sample11.Font = new System.Drawing.Font("宋体", 15.75f, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 134);
		this.labelRack3Sample11.Image = (System.Drawing.Image)resources.GetObject("labelRack3Sample11.Image");
		this.labelRack3Sample11.Location = new System.Drawing.Point(92, 381);
		this.labelRack3Sample11.Margin = new System.Windows.Forms.Padding(0);
		this.labelRack3Sample11.Name = "labelRack3Sample11";
		this.labelRack3Sample11.Size = new System.Drawing.Size(93, 127);
		this.labelRack3Sample11.TabIndex = 11;
		this.labelRack3Sample11.Text = "11";
		this.labelRack3Sample11.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
		this.labelRack3Sample11.MouseDown += new System.Windows.Forms.MouseEventHandler(label_Click);
		this.labelRack3Sample20.Dock = System.Windows.Forms.DockStyle.Fill;
		this.labelRack3Sample20.Font = new System.Drawing.Font("宋体", 15.75f, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 134);
		this.labelRack3Sample20.Image = (System.Drawing.Image)resources.GetObject("labelRack3Sample20.Image");
		this.labelRack3Sample20.Location = new System.Drawing.Point(92, 762);
		this.labelRack3Sample20.Margin = new System.Windows.Forms.Padding(0);
		this.labelRack3Sample20.Name = "labelRack3Sample20";
		this.labelRack3Sample20.Size = new System.Drawing.Size(93, 133);
		this.labelRack3Sample20.TabIndex = 20;
		this.labelRack3Sample20.Text = "20";
		this.labelRack3Sample20.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
		this.labelRack3Sample20.MouseDown += new System.Windows.Forms.MouseEventHandler(label_Click);
		this.labelRack3Sample13.Dock = System.Windows.Forms.DockStyle.Fill;
		this.labelRack3Sample13.Font = new System.Drawing.Font("宋体", 15.75f, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 134);
		this.labelRack3Sample13.Image = (System.Drawing.Image)resources.GetObject("labelRack3Sample13.Image");
		this.labelRack3Sample13.Location = new System.Drawing.Point(0, 508);
		this.labelRack3Sample13.Margin = new System.Windows.Forms.Padding(0);
		this.labelRack3Sample13.Name = "labelRack3Sample13";
		this.labelRack3Sample13.Size = new System.Drawing.Size(92, 127);
		this.labelRack3Sample13.TabIndex = 13;
		this.labelRack3Sample13.Text = "13";
		this.labelRack3Sample13.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
		this.labelRack3Sample13.MouseDown += new System.Windows.Forms.MouseEventHandler(label_Click);
		this.labelRack3Sample19.Dock = System.Windows.Forms.DockStyle.Fill;
		this.labelRack3Sample19.Font = new System.Drawing.Font("宋体", 15.75f, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 134);
		this.labelRack3Sample19.Image = (System.Drawing.Image)resources.GetObject("labelRack3Sample19.Image");
		this.labelRack3Sample19.Location = new System.Drawing.Point(0, 762);
		this.labelRack3Sample19.Margin = new System.Windows.Forms.Padding(0);
		this.labelRack3Sample19.Name = "labelRack3Sample19";
		this.labelRack3Sample19.Size = new System.Drawing.Size(92, 133);
		this.labelRack3Sample19.TabIndex = 19;
		this.labelRack3Sample19.Text = "19";
		this.labelRack3Sample19.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
		this.labelRack3Sample19.MouseDown += new System.Windows.Forms.MouseEventHandler(label_Click);
		this.labelRack3Sample14.Dock = System.Windows.Forms.DockStyle.Fill;
		this.labelRack3Sample14.Font = new System.Drawing.Font("宋体", 15.75f, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 134);
		this.labelRack3Sample14.Image = (System.Drawing.Image)resources.GetObject("labelRack3Sample14.Image");
		this.labelRack3Sample14.Location = new System.Drawing.Point(92, 508);
		this.labelRack3Sample14.Margin = new System.Windows.Forms.Padding(0);
		this.labelRack3Sample14.Name = "labelRack3Sample14";
		this.labelRack3Sample14.Size = new System.Drawing.Size(93, 127);
		this.labelRack3Sample14.TabIndex = 14;
		this.labelRack3Sample14.Text = "14";
		this.labelRack3Sample14.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
		this.labelRack3Sample14.MouseDown += new System.Windows.Forms.MouseEventHandler(label_Click);
		this.labelRack3Sample16.Dock = System.Windows.Forms.DockStyle.Fill;
		this.labelRack3Sample16.Font = new System.Drawing.Font("宋体", 15.75f, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 134);
		this.labelRack3Sample16.Image = (System.Drawing.Image)resources.GetObject("labelRack3Sample16.Image");
		this.labelRack3Sample16.Location = new System.Drawing.Point(0, 635);
		this.labelRack3Sample16.Margin = new System.Windows.Forms.Padding(0);
		this.labelRack3Sample16.Name = "labelRack3Sample16";
		this.labelRack3Sample16.Size = new System.Drawing.Size(92, 127);
		this.labelRack3Sample16.TabIndex = 16;
		this.labelRack3Sample16.Text = "16";
		this.labelRack3Sample16.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
		this.labelRack3Sample16.MouseDown += new System.Windows.Forms.MouseEventHandler(label_Click);
		this.labelRack3Sample17.Dock = System.Windows.Forms.DockStyle.Fill;
		this.labelRack3Sample17.Font = new System.Drawing.Font("宋体", 15.75f, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 134);
		this.labelRack3Sample17.Image = (System.Drawing.Image)resources.GetObject("labelRack3Sample17.Image");
		this.labelRack3Sample17.Location = new System.Drawing.Point(92, 635);
		this.labelRack3Sample17.Margin = new System.Windows.Forms.Padding(0);
		this.labelRack3Sample17.Name = "labelRack3Sample17";
		this.labelRack3Sample17.Size = new System.Drawing.Size(93, 127);
		this.labelRack3Sample17.TabIndex = 17;
		this.labelRack3Sample17.Text = "17";
		this.labelRack3Sample17.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
		this.labelRack3Sample17.MouseDown += new System.Windows.Forms.MouseEventHandler(label_Click);
		this.labelRack3Sample12.Dock = System.Windows.Forms.DockStyle.Fill;
		this.labelRack3Sample12.Font = new System.Drawing.Font("宋体", 15.75f, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 134);
		this.labelRack3Sample12.Image = (System.Drawing.Image)resources.GetObject("labelRack3Sample12.Image");
		this.labelRack3Sample12.Location = new System.Drawing.Point(185, 381);
		this.labelRack3Sample12.Margin = new System.Windows.Forms.Padding(0);
		this.labelRack3Sample12.Name = "labelRack3Sample12";
		this.labelRack3Sample12.Size = new System.Drawing.Size(94, 127);
		this.labelRack3Sample12.TabIndex = 12;
		this.labelRack3Sample12.Text = "12";
		this.labelRack3Sample12.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
		this.labelRack3Sample12.MouseDown += new System.Windows.Forms.MouseEventHandler(label_Click);
		this.labelRack3Sample15.Dock = System.Windows.Forms.DockStyle.Fill;
		this.labelRack3Sample15.Font = new System.Drawing.Font("宋体", 15.75f, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 134);
		this.labelRack3Sample15.Image = (System.Drawing.Image)resources.GetObject("labelRack3Sample15.Image");
		this.labelRack3Sample15.Location = new System.Drawing.Point(185, 508);
		this.labelRack3Sample15.Margin = new System.Windows.Forms.Padding(0);
		this.labelRack3Sample15.Name = "labelRack3Sample15";
		this.labelRack3Sample15.Size = new System.Drawing.Size(94, 127);
		this.labelRack3Sample15.TabIndex = 15;
		this.labelRack3Sample15.Text = "15";
		this.labelRack3Sample15.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
		this.labelRack3Sample15.MouseDown += new System.Windows.Forms.MouseEventHandler(label_Click);
		this.groupBoxRack2.Controls.Add(this.panel2);
		this.groupBoxRack2.Dock = System.Windows.Forms.DockStyle.Fill;
		this.groupBoxRack2.Location = new System.Drawing.Point(348, 4);
		this.groupBoxRack2.Margin = new System.Windows.Forms.Padding(4);
		this.groupBoxRack2.Name = "groupBoxRack2";
		this.groupBoxRack2.Padding = new System.Windows.Forms.Padding(4);
		this.groupBoxRack2.Size = new System.Drawing.Size(336, 728);
		this.groupBoxRack2.TabIndex = 2;
		this.groupBoxRack2.TabStop = false;
		this.groupBoxRack2.Text = "试样架2";
		this.panel2.AutoScroll = true;
		this.panel2.Controls.Add(this.tableLayoutPanelSample2);
		this.panel2.Dock = System.Windows.Forms.DockStyle.Fill;
		this.panel2.Location = new System.Drawing.Point(4, 22);
		this.panel2.Margin = new System.Windows.Forms.Padding(4);
		this.panel2.Name = "panel2";
		this.panel2.Size = new System.Drawing.Size(328, 702);
		this.panel2.TabIndex = 45;
		this.tableLayoutPanelSample2.BackColor = System.Drawing.Color.DeepSkyBlue;
		this.tableLayoutPanelSample2.ColumnCount = 3;
		this.tableLayoutPanelSample2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 33.33333f));
		this.tableLayoutPanelSample2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 33.33334f));
		this.tableLayoutPanelSample2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 33.33334f));
		this.tableLayoutPanelSample2.Controls.Add(this.labelRack2Sample2, 1, 0);
		this.tableLayoutPanelSample2.Controls.Add(this.labelRack2Sample21, 2, 6);
		this.tableLayoutPanelSample2.Controls.Add(this.labelRack2Sample1, 0, 0);
		this.tableLayoutPanelSample2.Controls.Add(this.labelRack2Sample18, 2, 5);
		this.tableLayoutPanelSample2.Controls.Add(this.labelRack2Sample4, 0, 1);
		this.tableLayoutPanelSample2.Controls.Add(this.labelRack2Sample5, 1, 1);
		this.tableLayoutPanelSample2.Controls.Add(this.labelRack2Sample7, 0, 2);
		this.tableLayoutPanelSample2.Controls.Add(this.labelRack2Sample9, 2, 2);
		this.tableLayoutPanelSample2.Controls.Add(this.labelRack2Sample8, 1, 2);
		this.tableLayoutPanelSample2.Controls.Add(this.labelRack2Sample6, 2, 1);
		this.tableLayoutPanelSample2.Controls.Add(this.labelRack2Sample10, 0, 3);
		this.tableLayoutPanelSample2.Controls.Add(this.labelRack2Sample3, 2, 0);
		this.tableLayoutPanelSample2.Controls.Add(this.labelRack2Sample11, 1, 3);
		this.tableLayoutPanelSample2.Controls.Add(this.labelRack2Sample20, 1, 6);
		this.tableLayoutPanelSample2.Controls.Add(this.labelRack2Sample13, 0, 4);
		this.tableLayoutPanelSample2.Controls.Add(this.labelRack2Sample19, 0, 6);
		this.tableLayoutPanelSample2.Controls.Add(this.labelRack2Sample14, 1, 4);
		this.tableLayoutPanelSample2.Controls.Add(this.labelRack2Sample16, 0, 5);
		this.tableLayoutPanelSample2.Controls.Add(this.labelRack2Sample17, 1, 5);
		this.tableLayoutPanelSample2.Controls.Add(this.labelRack2Sample12, 2, 3);
		this.tableLayoutPanelSample2.Controls.Add(this.labelRack2Sample15, 2, 4);
		this.tableLayoutPanelSample2.Location = new System.Drawing.Point(4, 4);
		this.tableLayoutPanelSample2.Margin = new System.Windows.Forms.Padding(4);
		this.tableLayoutPanelSample2.Name = "tableLayoutPanelSample2";
		this.tableLayoutPanelSample2.RowCount = 7;
		this.tableLayoutPanelSample2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 14.28572f));
		this.tableLayoutPanelSample2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 14.28572f));
		this.tableLayoutPanelSample2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 14.28572f));
		this.tableLayoutPanelSample2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 14.28572f));
		this.tableLayoutPanelSample2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 14.28572f));
		this.tableLayoutPanelSample2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 14.28572f));
		this.tableLayoutPanelSample2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 14.28572f));
		this.tableLayoutPanelSample2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 25f));
		this.tableLayoutPanelSample2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 25f));
		this.tableLayoutPanelSample2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 25f));
		this.tableLayoutPanelSample2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 25f));
		this.tableLayoutPanelSample2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 25f));
		this.tableLayoutPanelSample2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 25f));
		this.tableLayoutPanelSample2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 25f));
		this.tableLayoutPanelSample2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 25f));
		this.tableLayoutPanelSample2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 25f));
		this.tableLayoutPanelSample2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 25f));
		this.tableLayoutPanelSample2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 25f));
		this.tableLayoutPanelSample2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 25f));
		this.tableLayoutPanelSample2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 25f));
		this.tableLayoutPanelSample2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 25f));
		this.tableLayoutPanelSample2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 25f));
		this.tableLayoutPanelSample2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 25f));
		this.tableLayoutPanelSample2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 25f));
		this.tableLayoutPanelSample2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 25f));
		this.tableLayoutPanelSample2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 25f));
		this.tableLayoutPanelSample2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 25f));
		this.tableLayoutPanelSample2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 25f));
		this.tableLayoutPanelSample2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 25f));
		this.tableLayoutPanelSample2.Size = new System.Drawing.Size(279, 895);
		this.tableLayoutPanelSample2.TabIndex = 44;
		this.labelRack2Sample2.Dock = System.Windows.Forms.DockStyle.Fill;
		this.labelRack2Sample2.Font = new System.Drawing.Font("宋体", 15.75f, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 134);
		this.labelRack2Sample2.Image = (System.Drawing.Image)resources.GetObject("labelRack2Sample2.Image");
		this.labelRack2Sample2.Location = new System.Drawing.Point(92, 0);
		this.labelRack2Sample2.Margin = new System.Windows.Forms.Padding(0);
		this.labelRack2Sample2.Name = "labelRack2Sample2";
		this.labelRack2Sample2.Size = new System.Drawing.Size(93, 127);
		this.labelRack2Sample2.TabIndex = 2;
		this.labelRack2Sample2.Text = "2";
		this.labelRack2Sample2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
		this.labelRack2Sample2.MouseDown += new System.Windows.Forms.MouseEventHandler(label_Click);
		this.labelRack2Sample21.Dock = System.Windows.Forms.DockStyle.Fill;
		this.labelRack2Sample21.Font = new System.Drawing.Font("宋体", 15.75f, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 134);
		this.labelRack2Sample21.Image = (System.Drawing.Image)resources.GetObject("labelRack2Sample21.Image");
		this.labelRack2Sample21.Location = new System.Drawing.Point(185, 762);
		this.labelRack2Sample21.Margin = new System.Windows.Forms.Padding(0);
		this.labelRack2Sample21.Name = "labelRack2Sample21";
		this.labelRack2Sample21.Size = new System.Drawing.Size(94, 133);
		this.labelRack2Sample21.TabIndex = 21;
		this.labelRack2Sample21.Text = "21";
		this.labelRack2Sample21.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
		this.labelRack2Sample21.MouseDown += new System.Windows.Forms.MouseEventHandler(label_Click);
		this.labelRack2Sample1.Dock = System.Windows.Forms.DockStyle.Fill;
		this.labelRack2Sample1.Font = new System.Drawing.Font("宋体", 15.75f, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 134);
		this.labelRack2Sample1.Image = (System.Drawing.Image)resources.GetObject("labelRack2Sample1.Image");
		this.labelRack2Sample1.Location = new System.Drawing.Point(0, 0);
		this.labelRack2Sample1.Margin = new System.Windows.Forms.Padding(0);
		this.labelRack2Sample1.Name = "labelRack2Sample1";
		this.labelRack2Sample1.Size = new System.Drawing.Size(92, 127);
		this.labelRack2Sample1.TabIndex = 1;
		this.labelRack2Sample1.Text = "1";
		this.labelRack2Sample1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
		this.labelRack2Sample1.MouseDown += new System.Windows.Forms.MouseEventHandler(label_Click);
		this.labelRack2Sample18.Dock = System.Windows.Forms.DockStyle.Fill;
		this.labelRack2Sample18.Font = new System.Drawing.Font("宋体", 15.75f, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 134);
		this.labelRack2Sample18.Image = (System.Drawing.Image)resources.GetObject("labelRack2Sample18.Image");
		this.labelRack2Sample18.Location = new System.Drawing.Point(185, 635);
		this.labelRack2Sample18.Margin = new System.Windows.Forms.Padding(0);
		this.labelRack2Sample18.Name = "labelRack2Sample18";
		this.labelRack2Sample18.Size = new System.Drawing.Size(94, 127);
		this.labelRack2Sample18.TabIndex = 18;
		this.labelRack2Sample18.Text = "18";
		this.labelRack2Sample18.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
		this.labelRack2Sample18.MouseDown += new System.Windows.Forms.MouseEventHandler(label_Click);
		this.labelRack2Sample4.Dock = System.Windows.Forms.DockStyle.Fill;
		this.labelRack2Sample4.Font = new System.Drawing.Font("宋体", 15.75f, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 134);
		this.labelRack2Sample4.Image = (System.Drawing.Image)resources.GetObject("labelRack2Sample4.Image");
		this.labelRack2Sample4.Location = new System.Drawing.Point(0, 127);
		this.labelRack2Sample4.Margin = new System.Windows.Forms.Padding(0);
		this.labelRack2Sample4.Name = "labelRack2Sample4";
		this.labelRack2Sample4.Size = new System.Drawing.Size(92, 127);
		this.labelRack2Sample4.TabIndex = 4;
		this.labelRack2Sample4.Text = "4";
		this.labelRack2Sample4.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
		this.labelRack2Sample4.MouseDown += new System.Windows.Forms.MouseEventHandler(label_Click);
		this.labelRack2Sample5.Dock = System.Windows.Forms.DockStyle.Fill;
		this.labelRack2Sample5.Font = new System.Drawing.Font("宋体", 15.75f, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 134);
		this.labelRack2Sample5.Image = (System.Drawing.Image)resources.GetObject("labelRack2Sample5.Image");
		this.labelRack2Sample5.Location = new System.Drawing.Point(92, 127);
		this.labelRack2Sample5.Margin = new System.Windows.Forms.Padding(0);
		this.labelRack2Sample5.Name = "labelRack2Sample5";
		this.labelRack2Sample5.Size = new System.Drawing.Size(93, 127);
		this.labelRack2Sample5.TabIndex = 5;
		this.labelRack2Sample5.Text = "5";
		this.labelRack2Sample5.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
		this.labelRack2Sample5.MouseDown += new System.Windows.Forms.MouseEventHandler(label_Click);
		this.labelRack2Sample7.Dock = System.Windows.Forms.DockStyle.Fill;
		this.labelRack2Sample7.Font = new System.Drawing.Font("宋体", 15.75f, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 134);
		this.labelRack2Sample7.Image = (System.Drawing.Image)resources.GetObject("labelRack2Sample7.Image");
		this.labelRack2Sample7.Location = new System.Drawing.Point(0, 254);
		this.labelRack2Sample7.Margin = new System.Windows.Forms.Padding(0);
		this.labelRack2Sample7.Name = "labelRack2Sample7";
		this.labelRack2Sample7.Size = new System.Drawing.Size(92, 127);
		this.labelRack2Sample7.TabIndex = 7;
		this.labelRack2Sample7.Text = "7";
		this.labelRack2Sample7.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
		this.labelRack2Sample7.MouseDown += new System.Windows.Forms.MouseEventHandler(label_Click);
		this.labelRack2Sample9.Dock = System.Windows.Forms.DockStyle.Fill;
		this.labelRack2Sample9.Font = new System.Drawing.Font("宋体", 15.75f, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 134);
		this.labelRack2Sample9.Image = (System.Drawing.Image)resources.GetObject("labelRack2Sample9.Image");
		this.labelRack2Sample9.Location = new System.Drawing.Point(185, 254);
		this.labelRack2Sample9.Margin = new System.Windows.Forms.Padding(0);
		this.labelRack2Sample9.Name = "labelRack2Sample9";
		this.labelRack2Sample9.Size = new System.Drawing.Size(94, 127);
		this.labelRack2Sample9.TabIndex = 9;
		this.labelRack2Sample9.Text = "9";
		this.labelRack2Sample9.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
		this.labelRack2Sample9.MouseDown += new System.Windows.Forms.MouseEventHandler(label_Click);
		this.labelRack2Sample8.Dock = System.Windows.Forms.DockStyle.Fill;
		this.labelRack2Sample8.Font = new System.Drawing.Font("宋体", 15.75f, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 134);
		this.labelRack2Sample8.Image = (System.Drawing.Image)resources.GetObject("labelRack2Sample8.Image");
		this.labelRack2Sample8.Location = new System.Drawing.Point(92, 254);
		this.labelRack2Sample8.Margin = new System.Windows.Forms.Padding(0);
		this.labelRack2Sample8.Name = "labelRack2Sample8";
		this.labelRack2Sample8.Size = new System.Drawing.Size(93, 127);
		this.labelRack2Sample8.TabIndex = 8;
		this.labelRack2Sample8.Text = "8";
		this.labelRack2Sample8.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
		this.labelRack2Sample8.MouseDown += new System.Windows.Forms.MouseEventHandler(label_Click);
		this.labelRack2Sample6.Dock = System.Windows.Forms.DockStyle.Fill;
		this.labelRack2Sample6.Font = new System.Drawing.Font("宋体", 15.75f, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 134);
		this.labelRack2Sample6.Image = (System.Drawing.Image)resources.GetObject("labelRack2Sample6.Image");
		this.labelRack2Sample6.Location = new System.Drawing.Point(185, 127);
		this.labelRack2Sample6.Margin = new System.Windows.Forms.Padding(0);
		this.labelRack2Sample6.Name = "labelRack2Sample6";
		this.labelRack2Sample6.Size = new System.Drawing.Size(94, 127);
		this.labelRack2Sample6.TabIndex = 6;
		this.labelRack2Sample6.Text = "6";
		this.labelRack2Sample6.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
		this.labelRack2Sample6.MouseDown += new System.Windows.Forms.MouseEventHandler(label_Click);
		this.labelRack2Sample10.Dock = System.Windows.Forms.DockStyle.Fill;
		this.labelRack2Sample10.Font = new System.Drawing.Font("宋体", 15.75f, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 134);
		this.labelRack2Sample10.Image = (System.Drawing.Image)resources.GetObject("labelRack2Sample10.Image");
		this.labelRack2Sample10.Location = new System.Drawing.Point(0, 381);
		this.labelRack2Sample10.Margin = new System.Windows.Forms.Padding(0);
		this.labelRack2Sample10.Name = "labelRack2Sample10";
		this.labelRack2Sample10.Size = new System.Drawing.Size(92, 127);
		this.labelRack2Sample10.TabIndex = 10;
		this.labelRack2Sample10.Text = "10";
		this.labelRack2Sample10.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
		this.labelRack2Sample10.MouseDown += new System.Windows.Forms.MouseEventHandler(label_Click);
		this.labelRack2Sample3.Dock = System.Windows.Forms.DockStyle.Fill;
		this.labelRack2Sample3.Font = new System.Drawing.Font("宋体", 15.75f, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 134);
		this.labelRack2Sample3.Image = (System.Drawing.Image)resources.GetObject("labelRack2Sample3.Image");
		this.labelRack2Sample3.Location = new System.Drawing.Point(185, 0);
		this.labelRack2Sample3.Margin = new System.Windows.Forms.Padding(0);
		this.labelRack2Sample3.Name = "labelRack2Sample3";
		this.labelRack2Sample3.Size = new System.Drawing.Size(94, 127);
		this.labelRack2Sample3.TabIndex = 3;
		this.labelRack2Sample3.Text = "3";
		this.labelRack2Sample3.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
		this.labelRack2Sample3.MouseDown += new System.Windows.Forms.MouseEventHandler(label_Click);
		this.labelRack2Sample11.Dock = System.Windows.Forms.DockStyle.Fill;
		this.labelRack2Sample11.Font = new System.Drawing.Font("宋体", 15.75f, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 134);
		this.labelRack2Sample11.Image = (System.Drawing.Image)resources.GetObject("labelRack2Sample11.Image");
		this.labelRack2Sample11.Location = new System.Drawing.Point(92, 381);
		this.labelRack2Sample11.Margin = new System.Windows.Forms.Padding(0);
		this.labelRack2Sample11.Name = "labelRack2Sample11";
		this.labelRack2Sample11.Size = new System.Drawing.Size(93, 127);
		this.labelRack2Sample11.TabIndex = 11;
		this.labelRack2Sample11.Text = "11";
		this.labelRack2Sample11.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
		this.labelRack2Sample11.MouseDown += new System.Windows.Forms.MouseEventHandler(label_Click);
		this.labelRack2Sample20.Dock = System.Windows.Forms.DockStyle.Fill;
		this.labelRack2Sample20.Font = new System.Drawing.Font("宋体", 15.75f, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 134);
		this.labelRack2Sample20.Image = (System.Drawing.Image)resources.GetObject("labelRack2Sample20.Image");
		this.labelRack2Sample20.Location = new System.Drawing.Point(92, 762);
		this.labelRack2Sample20.Margin = new System.Windows.Forms.Padding(0);
		this.labelRack2Sample20.Name = "labelRack2Sample20";
		this.labelRack2Sample20.Size = new System.Drawing.Size(93, 133);
		this.labelRack2Sample20.TabIndex = 20;
		this.labelRack2Sample20.Text = "20";
		this.labelRack2Sample20.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
		this.labelRack2Sample20.MouseDown += new System.Windows.Forms.MouseEventHandler(label_Click);
		this.labelRack2Sample13.Dock = System.Windows.Forms.DockStyle.Fill;
		this.labelRack2Sample13.Font = new System.Drawing.Font("宋体", 15.75f, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 134);
		this.labelRack2Sample13.Image = (System.Drawing.Image)resources.GetObject("labelRack2Sample13.Image");
		this.labelRack2Sample13.Location = new System.Drawing.Point(0, 508);
		this.labelRack2Sample13.Margin = new System.Windows.Forms.Padding(0);
		this.labelRack2Sample13.Name = "labelRack2Sample13";
		this.labelRack2Sample13.Size = new System.Drawing.Size(92, 127);
		this.labelRack2Sample13.TabIndex = 13;
		this.labelRack2Sample13.Text = "13";
		this.labelRack2Sample13.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
		this.labelRack2Sample13.MouseDown += new System.Windows.Forms.MouseEventHandler(label_Click);
		this.labelRack2Sample19.Dock = System.Windows.Forms.DockStyle.Fill;
		this.labelRack2Sample19.Font = new System.Drawing.Font("宋体", 15.75f, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 134);
		this.labelRack2Sample19.Image = (System.Drawing.Image)resources.GetObject("labelRack2Sample19.Image");
		this.labelRack2Sample19.Location = new System.Drawing.Point(0, 762);
		this.labelRack2Sample19.Margin = new System.Windows.Forms.Padding(0);
		this.labelRack2Sample19.Name = "labelRack2Sample19";
		this.labelRack2Sample19.Size = new System.Drawing.Size(92, 133);
		this.labelRack2Sample19.TabIndex = 19;
		this.labelRack2Sample19.Text = "19";
		this.labelRack2Sample19.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
		this.labelRack2Sample19.MouseDown += new System.Windows.Forms.MouseEventHandler(label_Click);
		this.labelRack2Sample14.Dock = System.Windows.Forms.DockStyle.Fill;
		this.labelRack2Sample14.Font = new System.Drawing.Font("宋体", 15.75f, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 134);
		this.labelRack2Sample14.Image = (System.Drawing.Image)resources.GetObject("labelRack2Sample14.Image");
		this.labelRack2Sample14.Location = new System.Drawing.Point(92, 508);
		this.labelRack2Sample14.Margin = new System.Windows.Forms.Padding(0);
		this.labelRack2Sample14.Name = "labelRack2Sample14";
		this.labelRack2Sample14.Size = new System.Drawing.Size(93, 127);
		this.labelRack2Sample14.TabIndex = 14;
		this.labelRack2Sample14.Text = "14";
		this.labelRack2Sample14.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
		this.labelRack2Sample14.MouseDown += new System.Windows.Forms.MouseEventHandler(label_Click);
		this.labelRack2Sample16.Dock = System.Windows.Forms.DockStyle.Fill;
		this.labelRack2Sample16.Font = new System.Drawing.Font("宋体", 15.75f, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 134);
		this.labelRack2Sample16.Image = (System.Drawing.Image)resources.GetObject("labelRack2Sample16.Image");
		this.labelRack2Sample16.Location = new System.Drawing.Point(0, 635);
		this.labelRack2Sample16.Margin = new System.Windows.Forms.Padding(0);
		this.labelRack2Sample16.Name = "labelRack2Sample16";
		this.labelRack2Sample16.Size = new System.Drawing.Size(92, 127);
		this.labelRack2Sample16.TabIndex = 16;
		this.labelRack2Sample16.Text = "16";
		this.labelRack2Sample16.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
		this.labelRack2Sample16.MouseDown += new System.Windows.Forms.MouseEventHandler(label_Click);
		this.labelRack2Sample17.Dock = System.Windows.Forms.DockStyle.Fill;
		this.labelRack2Sample17.Font = new System.Drawing.Font("宋体", 15.75f, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 134);
		this.labelRack2Sample17.Image = (System.Drawing.Image)resources.GetObject("labelRack2Sample17.Image");
		this.labelRack2Sample17.Location = new System.Drawing.Point(92, 635);
		this.labelRack2Sample17.Margin = new System.Windows.Forms.Padding(0);
		this.labelRack2Sample17.Name = "labelRack2Sample17";
		this.labelRack2Sample17.Size = new System.Drawing.Size(93, 127);
		this.labelRack2Sample17.TabIndex = 17;
		this.labelRack2Sample17.Text = "17";
		this.labelRack2Sample17.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
		this.labelRack2Sample17.MouseDown += new System.Windows.Forms.MouseEventHandler(label_Click);
		this.labelRack2Sample12.Dock = System.Windows.Forms.DockStyle.Fill;
		this.labelRack2Sample12.Font = new System.Drawing.Font("宋体", 15.75f, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 134);
		this.labelRack2Sample12.Image = (System.Drawing.Image)resources.GetObject("labelRack2Sample12.Image");
		this.labelRack2Sample12.Location = new System.Drawing.Point(185, 381);
		this.labelRack2Sample12.Margin = new System.Windows.Forms.Padding(0);
		this.labelRack2Sample12.Name = "labelRack2Sample12";
		this.labelRack2Sample12.Size = new System.Drawing.Size(94, 127);
		this.labelRack2Sample12.TabIndex = 12;
		this.labelRack2Sample12.Text = "12";
		this.labelRack2Sample12.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
		this.labelRack2Sample12.MouseDown += new System.Windows.Forms.MouseEventHandler(label_Click);
		this.labelRack2Sample15.Dock = System.Windows.Forms.DockStyle.Fill;
		this.labelRack2Sample15.Font = new System.Drawing.Font("宋体", 15.75f, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 134);
		this.labelRack2Sample15.Image = (System.Drawing.Image)resources.GetObject("labelRack2Sample15.Image");
		this.labelRack2Sample15.Location = new System.Drawing.Point(185, 508);
		this.labelRack2Sample15.Margin = new System.Windows.Forms.Padding(0);
		this.labelRack2Sample15.Name = "labelRack2Sample15";
		this.labelRack2Sample15.Size = new System.Drawing.Size(94, 127);
		this.labelRack2Sample15.TabIndex = 15;
		this.labelRack2Sample15.Text = "15";
		this.labelRack2Sample15.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
		this.labelRack2Sample15.MouseDown += new System.Windows.Forms.MouseEventHandler(label_Click);
		this.groupBoxRack1.Controls.Add(this.panel1);
		this.groupBoxRack1.Dock = System.Windows.Forms.DockStyle.Fill;
		this.groupBoxRack1.Location = new System.Drawing.Point(4, 4);
		this.groupBoxRack1.Margin = new System.Windows.Forms.Padding(4);
		this.groupBoxRack1.Name = "groupBoxRack1";
		this.groupBoxRack1.Padding = new System.Windows.Forms.Padding(4);
		this.groupBoxRack1.Size = new System.Drawing.Size(336, 728);
		this.groupBoxRack1.TabIndex = 1;
		this.groupBoxRack1.TabStop = false;
		this.groupBoxRack1.Text = "试样架1";
		this.panel1.AutoScroll = true;
		this.panel1.Controls.Add(this.tableLayoutPanelSample1);
		this.panel1.Dock = System.Windows.Forms.DockStyle.Fill;
		this.panel1.Location = new System.Drawing.Point(4, 22);
		this.panel1.Margin = new System.Windows.Forms.Padding(4);
		this.panel1.Name = "panel1";
		this.panel1.Size = new System.Drawing.Size(328, 702);
		this.panel1.TabIndex = 46;
		this.tableLayoutPanelSample1.BackColor = System.Drawing.Color.FromArgb(128, 255, 255);
		this.tableLayoutPanelSample1.ColumnCount = 3;
		this.tableLayoutPanelSample1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 33.33333f));
		this.tableLayoutPanelSample1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 33.33334f));
		this.tableLayoutPanelSample1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 33.33334f));
		this.tableLayoutPanelSample1.Controls.Add(this.labelRack1Sample2, 1, 0);
		this.tableLayoutPanelSample1.Controls.Add(this.labelRack1Sample21, 2, 6);
		this.tableLayoutPanelSample1.Controls.Add(this.labelRack1Sample1, 0, 0);
		this.tableLayoutPanelSample1.Controls.Add(this.labelRack1Sample18, 2, 5);
		this.tableLayoutPanelSample1.Controls.Add(this.labelRack1Sample4, 0, 1);
		this.tableLayoutPanelSample1.Controls.Add(this.labelRack1Sample5, 1, 1);
		this.tableLayoutPanelSample1.Controls.Add(this.labelRack1Sample7, 0, 2);
		this.tableLayoutPanelSample1.Controls.Add(this.labelRack1Sample9, 2, 2);
		this.tableLayoutPanelSample1.Controls.Add(this.labelRack1Sample8, 1, 2);
		this.tableLayoutPanelSample1.Controls.Add(this.labelRack1Sample6, 2, 1);
		this.tableLayoutPanelSample1.Controls.Add(this.labelRack1Sample10, 0, 3);
		this.tableLayoutPanelSample1.Controls.Add(this.labelRack1Sample3, 2, 0);
		this.tableLayoutPanelSample1.Controls.Add(this.labelRack1Sample11, 1, 3);
		this.tableLayoutPanelSample1.Controls.Add(this.labelRack1Sample20, 1, 6);
		this.tableLayoutPanelSample1.Controls.Add(this.labelRack1Sample13, 0, 4);
		this.tableLayoutPanelSample1.Controls.Add(this.labelRack1Sample19, 0, 6);
		this.tableLayoutPanelSample1.Controls.Add(this.labelRack1Sample14, 1, 4);
		this.tableLayoutPanelSample1.Controls.Add(this.labelRack1Sample16, 0, 5);
		this.tableLayoutPanelSample1.Controls.Add(this.labelRack1Sample17, 1, 5);
		this.tableLayoutPanelSample1.Controls.Add(this.labelRack1Sample12, 2, 3);
		this.tableLayoutPanelSample1.Controls.Add(this.labelRack1Sample15, 2, 4);
		this.tableLayoutPanelSample1.Location = new System.Drawing.Point(0, 4);
		this.tableLayoutPanelSample1.Margin = new System.Windows.Forms.Padding(4);
		this.tableLayoutPanelSample1.Name = "tableLayoutPanelSample1";
		this.tableLayoutPanelSample1.RowCount = 7;
		this.tableLayoutPanelSample1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 14.28572f));
		this.tableLayoutPanelSample1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 14.28572f));
		this.tableLayoutPanelSample1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 14.28572f));
		this.tableLayoutPanelSample1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 14.28572f));
		this.tableLayoutPanelSample1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 14.28572f));
		this.tableLayoutPanelSample1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 14.28572f));
		this.tableLayoutPanelSample1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 14.28572f));
		this.tableLayoutPanelSample1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 25f));
		this.tableLayoutPanelSample1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 25f));
		this.tableLayoutPanelSample1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 25f));
		this.tableLayoutPanelSample1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 25f));
		this.tableLayoutPanelSample1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 25f));
		this.tableLayoutPanelSample1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 25f));
		this.tableLayoutPanelSample1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 25f));
		this.tableLayoutPanelSample1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 25f));
		this.tableLayoutPanelSample1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 25f));
		this.tableLayoutPanelSample1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 25f));
		this.tableLayoutPanelSample1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 25f));
		this.tableLayoutPanelSample1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 25f));
		this.tableLayoutPanelSample1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 25f));
		this.tableLayoutPanelSample1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 25f));
		this.tableLayoutPanelSample1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 25f));
		this.tableLayoutPanelSample1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 25f));
		this.tableLayoutPanelSample1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 25f));
		this.tableLayoutPanelSample1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 25f));
		this.tableLayoutPanelSample1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 25f));
		this.tableLayoutPanelSample1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 25f));
		this.tableLayoutPanelSample1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 25f));
		this.tableLayoutPanelSample1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 25f));
		this.tableLayoutPanelSample1.Size = new System.Drawing.Size(283, 895);
		this.tableLayoutPanelSample1.TabIndex = 45;
		this.labelRack1Sample2.Dock = System.Windows.Forms.DockStyle.Fill;
		this.labelRack1Sample2.Font = new System.Drawing.Font("宋体", 15.75f, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 134);
		this.labelRack1Sample2.Image = (System.Drawing.Image)resources.GetObject("labelRack1Sample2.Image");
		this.labelRack1Sample2.Location = new System.Drawing.Point(94, 0);
		this.labelRack1Sample2.Margin = new System.Windows.Forms.Padding(0);
		this.labelRack1Sample2.Name = "labelRack1Sample2";
		this.labelRack1Sample2.Size = new System.Drawing.Size(94, 127);
		this.labelRack1Sample2.TabIndex = 2;
		this.labelRack1Sample2.Text = "2";
		this.labelRack1Sample2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
		this.labelRack1Sample2.MouseDown += new System.Windows.Forms.MouseEventHandler(label_Click);
		this.labelRack1Sample21.Dock = System.Windows.Forms.DockStyle.Fill;
		this.labelRack1Sample21.Font = new System.Drawing.Font("宋体", 15.75f, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 134);
		this.labelRack1Sample21.Image = (System.Drawing.Image)resources.GetObject("labelRack1Sample21.Image");
		this.labelRack1Sample21.Location = new System.Drawing.Point(188, 762);
		this.labelRack1Sample21.Margin = new System.Windows.Forms.Padding(0);
		this.labelRack1Sample21.Name = "labelRack1Sample21";
		this.labelRack1Sample21.Size = new System.Drawing.Size(95, 133);
		this.labelRack1Sample21.TabIndex = 21;
		this.labelRack1Sample21.Text = "21";
		this.labelRack1Sample21.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
		this.labelRack1Sample21.MouseDown += new System.Windows.Forms.MouseEventHandler(label_Click);
		this.labelRack1Sample1.Dock = System.Windows.Forms.DockStyle.Fill;
		this.labelRack1Sample1.Font = new System.Drawing.Font("宋体", 15.75f, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 134);
		this.labelRack1Sample1.Image = (System.Drawing.Image)resources.GetObject("labelRack1Sample1.Image");
		this.labelRack1Sample1.Location = new System.Drawing.Point(0, 0);
		this.labelRack1Sample1.Margin = new System.Windows.Forms.Padding(0);
		this.labelRack1Sample1.Name = "labelRack1Sample1";
		this.labelRack1Sample1.Size = new System.Drawing.Size(94, 127);
		this.labelRack1Sample1.TabIndex = 1;
		this.labelRack1Sample1.Text = "1";
		this.labelRack1Sample1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
		this.labelRack1Sample1.MouseDown += new System.Windows.Forms.MouseEventHandler(label_Click);
		this.labelRack1Sample18.Dock = System.Windows.Forms.DockStyle.Fill;
		this.labelRack1Sample18.Font = new System.Drawing.Font("宋体", 15.75f, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 134);
		this.labelRack1Sample18.Image = (System.Drawing.Image)resources.GetObject("labelRack1Sample18.Image");
		this.labelRack1Sample18.Location = new System.Drawing.Point(188, 635);
		this.labelRack1Sample18.Margin = new System.Windows.Forms.Padding(0);
		this.labelRack1Sample18.Name = "labelRack1Sample18";
		this.labelRack1Sample18.Size = new System.Drawing.Size(95, 127);
		this.labelRack1Sample18.TabIndex = 18;
		this.labelRack1Sample18.Text = "18";
		this.labelRack1Sample18.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
		this.labelRack1Sample18.MouseDown += new System.Windows.Forms.MouseEventHandler(label_Click);
		this.labelRack1Sample4.Dock = System.Windows.Forms.DockStyle.Fill;
		this.labelRack1Sample4.Font = new System.Drawing.Font("宋体", 15.75f, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 134);
		this.labelRack1Sample4.Image = (System.Drawing.Image)resources.GetObject("labelRack1Sample4.Image");
		this.labelRack1Sample4.Location = new System.Drawing.Point(0, 127);
		this.labelRack1Sample4.Margin = new System.Windows.Forms.Padding(0);
		this.labelRack1Sample4.Name = "labelRack1Sample4";
		this.labelRack1Sample4.Size = new System.Drawing.Size(94, 127);
		this.labelRack1Sample4.TabIndex = 4;
		this.labelRack1Sample4.Text = "4";
		this.labelRack1Sample4.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
		this.labelRack1Sample4.MouseDown += new System.Windows.Forms.MouseEventHandler(label_Click);
		this.labelRack1Sample5.Dock = System.Windows.Forms.DockStyle.Fill;
		this.labelRack1Sample5.Font = new System.Drawing.Font("宋体", 15.75f, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 134);
		this.labelRack1Sample5.Image = (System.Drawing.Image)resources.GetObject("labelRack1Sample5.Image");
		this.labelRack1Sample5.Location = new System.Drawing.Point(94, 127);
		this.labelRack1Sample5.Margin = new System.Windows.Forms.Padding(0);
		this.labelRack1Sample5.Name = "labelRack1Sample5";
		this.labelRack1Sample5.Size = new System.Drawing.Size(94, 127);
		this.labelRack1Sample5.TabIndex = 5;
		this.labelRack1Sample5.Text = "5";
		this.labelRack1Sample5.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
		this.labelRack1Sample5.MouseDown += new System.Windows.Forms.MouseEventHandler(label_Click);
		this.labelRack1Sample7.Dock = System.Windows.Forms.DockStyle.Fill;
		this.labelRack1Sample7.Font = new System.Drawing.Font("宋体", 15.75f, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 134);
		this.labelRack1Sample7.Image = (System.Drawing.Image)resources.GetObject("labelRack1Sample7.Image");
		this.labelRack1Sample7.Location = new System.Drawing.Point(0, 254);
		this.labelRack1Sample7.Margin = new System.Windows.Forms.Padding(0);
		this.labelRack1Sample7.Name = "labelRack1Sample7";
		this.labelRack1Sample7.Size = new System.Drawing.Size(94, 127);
		this.labelRack1Sample7.TabIndex = 7;
		this.labelRack1Sample7.Text = "7";
		this.labelRack1Sample7.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
		this.labelRack1Sample7.MouseDown += new System.Windows.Forms.MouseEventHandler(label_Click);
		this.labelRack1Sample9.Dock = System.Windows.Forms.DockStyle.Fill;
		this.labelRack1Sample9.Font = new System.Drawing.Font("宋体", 15.75f, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 134);
		this.labelRack1Sample9.Image = (System.Drawing.Image)resources.GetObject("labelRack1Sample9.Image");
		this.labelRack1Sample9.Location = new System.Drawing.Point(188, 254);
		this.labelRack1Sample9.Margin = new System.Windows.Forms.Padding(0);
		this.labelRack1Sample9.Name = "labelRack1Sample9";
		this.labelRack1Sample9.Size = new System.Drawing.Size(95, 127);
		this.labelRack1Sample9.TabIndex = 9;
		this.labelRack1Sample9.Text = "9";
		this.labelRack1Sample9.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
		this.labelRack1Sample9.MouseDown += new System.Windows.Forms.MouseEventHandler(label_Click);
		this.labelRack1Sample8.Dock = System.Windows.Forms.DockStyle.Fill;
		this.labelRack1Sample8.Font = new System.Drawing.Font("宋体", 15.75f, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 134);
		this.labelRack1Sample8.Image = (System.Drawing.Image)resources.GetObject("labelRack1Sample8.Image");
		this.labelRack1Sample8.Location = new System.Drawing.Point(94, 254);
		this.labelRack1Sample8.Margin = new System.Windows.Forms.Padding(0);
		this.labelRack1Sample8.Name = "labelRack1Sample8";
		this.labelRack1Sample8.Size = new System.Drawing.Size(94, 127);
		this.labelRack1Sample8.TabIndex = 8;
		this.labelRack1Sample8.Text = "8";
		this.labelRack1Sample8.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
		this.labelRack1Sample8.MouseDown += new System.Windows.Forms.MouseEventHandler(label_Click);
		this.labelRack1Sample6.Dock = System.Windows.Forms.DockStyle.Fill;
		this.labelRack1Sample6.Font = new System.Drawing.Font("宋体", 15.75f, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 134);
		this.labelRack1Sample6.Image = (System.Drawing.Image)resources.GetObject("labelRack1Sample6.Image");
		this.labelRack1Sample6.Location = new System.Drawing.Point(188, 127);
		this.labelRack1Sample6.Margin = new System.Windows.Forms.Padding(0);
		this.labelRack1Sample6.Name = "labelRack1Sample6";
		this.labelRack1Sample6.Size = new System.Drawing.Size(95, 127);
		this.labelRack1Sample6.TabIndex = 6;
		this.labelRack1Sample6.Text = "6";
		this.labelRack1Sample6.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
		this.labelRack1Sample6.MouseDown += new System.Windows.Forms.MouseEventHandler(label_Click);
		this.labelRack1Sample10.Dock = System.Windows.Forms.DockStyle.Fill;
		this.labelRack1Sample10.Font = new System.Drawing.Font("宋体", 15.75f, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 134);
		this.labelRack1Sample10.Image = (System.Drawing.Image)resources.GetObject("labelRack1Sample10.Image");
		this.labelRack1Sample10.Location = new System.Drawing.Point(0, 381);
		this.labelRack1Sample10.Margin = new System.Windows.Forms.Padding(0);
		this.labelRack1Sample10.Name = "labelRack1Sample10";
		this.labelRack1Sample10.Size = new System.Drawing.Size(94, 127);
		this.labelRack1Sample10.TabIndex = 10;
		this.labelRack1Sample10.Text = "10";
		this.labelRack1Sample10.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
		this.labelRack1Sample10.MouseDown += new System.Windows.Forms.MouseEventHandler(label_Click);
		this.labelRack1Sample3.Dock = System.Windows.Forms.DockStyle.Fill;
		this.labelRack1Sample3.Font = new System.Drawing.Font("宋体", 15.75f, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 134);
		this.labelRack1Sample3.Image = (System.Drawing.Image)resources.GetObject("labelRack1Sample3.Image");
		this.labelRack1Sample3.Location = new System.Drawing.Point(188, 0);
		this.labelRack1Sample3.Margin = new System.Windows.Forms.Padding(0);
		this.labelRack1Sample3.Name = "labelRack1Sample3";
		this.labelRack1Sample3.Size = new System.Drawing.Size(95, 127);
		this.labelRack1Sample3.TabIndex = 3;
		this.labelRack1Sample3.Text = "3";
		this.labelRack1Sample3.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
		this.labelRack1Sample3.MouseDown += new System.Windows.Forms.MouseEventHandler(label_Click);
		this.labelRack1Sample11.Dock = System.Windows.Forms.DockStyle.Fill;
		this.labelRack1Sample11.Font = new System.Drawing.Font("宋体", 15.75f, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 134);
		this.labelRack1Sample11.Image = (System.Drawing.Image)resources.GetObject("labelRack1Sample11.Image");
		this.labelRack1Sample11.Location = new System.Drawing.Point(94, 381);
		this.labelRack1Sample11.Margin = new System.Windows.Forms.Padding(0);
		this.labelRack1Sample11.Name = "labelRack1Sample11";
		this.labelRack1Sample11.Size = new System.Drawing.Size(94, 127);
		this.labelRack1Sample11.TabIndex = 11;
		this.labelRack1Sample11.Text = "11";
		this.labelRack1Sample11.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
		this.labelRack1Sample11.MouseDown += new System.Windows.Forms.MouseEventHandler(label_Click);
		this.labelRack1Sample20.Dock = System.Windows.Forms.DockStyle.Fill;
		this.labelRack1Sample20.Font = new System.Drawing.Font("宋体", 15.75f, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 134);
		this.labelRack1Sample20.Image = (System.Drawing.Image)resources.GetObject("labelRack1Sample20.Image");
		this.labelRack1Sample20.Location = new System.Drawing.Point(94, 762);
		this.labelRack1Sample20.Margin = new System.Windows.Forms.Padding(0);
		this.labelRack1Sample20.Name = "labelRack1Sample20";
		this.labelRack1Sample20.Size = new System.Drawing.Size(94, 133);
		this.labelRack1Sample20.TabIndex = 20;
		this.labelRack1Sample20.Text = "20";
		this.labelRack1Sample20.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
		this.labelRack1Sample20.MouseDown += new System.Windows.Forms.MouseEventHandler(label_Click);
		this.labelRack1Sample13.Dock = System.Windows.Forms.DockStyle.Fill;
		this.labelRack1Sample13.Font = new System.Drawing.Font("宋体", 15.75f, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 134);
		this.labelRack1Sample13.Image = (System.Drawing.Image)resources.GetObject("labelRack1Sample13.Image");
		this.labelRack1Sample13.Location = new System.Drawing.Point(0, 508);
		this.labelRack1Sample13.Margin = new System.Windows.Forms.Padding(0);
		this.labelRack1Sample13.Name = "labelRack1Sample13";
		this.labelRack1Sample13.Size = new System.Drawing.Size(94, 127);
		this.labelRack1Sample13.TabIndex = 13;
		this.labelRack1Sample13.Text = "13";
		this.labelRack1Sample13.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
		this.labelRack1Sample13.MouseDown += new System.Windows.Forms.MouseEventHandler(label_Click);
		this.labelRack1Sample19.Dock = System.Windows.Forms.DockStyle.Fill;
		this.labelRack1Sample19.Font = new System.Drawing.Font("宋体", 15.75f, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 134);
		this.labelRack1Sample19.Image = (System.Drawing.Image)resources.GetObject("labelRack1Sample19.Image");
		this.labelRack1Sample19.Location = new System.Drawing.Point(0, 762);
		this.labelRack1Sample19.Margin = new System.Windows.Forms.Padding(0);
		this.labelRack1Sample19.Name = "labelRack1Sample19";
		this.labelRack1Sample19.Size = new System.Drawing.Size(94, 133);
		this.labelRack1Sample19.TabIndex = 19;
		this.labelRack1Sample19.Text = "19";
		this.labelRack1Sample19.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
		this.labelRack1Sample19.MouseDown += new System.Windows.Forms.MouseEventHandler(label_Click);
		this.labelRack1Sample14.Dock = System.Windows.Forms.DockStyle.Fill;
		this.labelRack1Sample14.Font = new System.Drawing.Font("宋体", 15.75f, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 134);
		this.labelRack1Sample14.Image = (System.Drawing.Image)resources.GetObject("labelRack1Sample14.Image");
		this.labelRack1Sample14.Location = new System.Drawing.Point(94, 508);
		this.labelRack1Sample14.Margin = new System.Windows.Forms.Padding(0);
		this.labelRack1Sample14.Name = "labelRack1Sample14";
		this.labelRack1Sample14.Size = new System.Drawing.Size(94, 127);
		this.labelRack1Sample14.TabIndex = 14;
		this.labelRack1Sample14.Text = "14";
		this.labelRack1Sample14.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
		this.labelRack1Sample14.MouseDown += new System.Windows.Forms.MouseEventHandler(label_Click);
		this.labelRack1Sample16.Dock = System.Windows.Forms.DockStyle.Fill;
		this.labelRack1Sample16.Font = new System.Drawing.Font("宋体", 15.75f, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 134);
		this.labelRack1Sample16.Image = (System.Drawing.Image)resources.GetObject("labelRack1Sample16.Image");
		this.labelRack1Sample16.Location = new System.Drawing.Point(0, 635);
		this.labelRack1Sample16.Margin = new System.Windows.Forms.Padding(0);
		this.labelRack1Sample16.Name = "labelRack1Sample16";
		this.labelRack1Sample16.Size = new System.Drawing.Size(94, 127);
		this.labelRack1Sample16.TabIndex = 16;
		this.labelRack1Sample16.Text = "16";
		this.labelRack1Sample16.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
		this.labelRack1Sample16.MouseDown += new System.Windows.Forms.MouseEventHandler(label_Click);
		this.labelRack1Sample17.Dock = System.Windows.Forms.DockStyle.Fill;
		this.labelRack1Sample17.Font = new System.Drawing.Font("宋体", 15.75f, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 134);
		this.labelRack1Sample17.Image = (System.Drawing.Image)resources.GetObject("labelRack1Sample17.Image");
		this.labelRack1Sample17.Location = new System.Drawing.Point(94, 635);
		this.labelRack1Sample17.Margin = new System.Windows.Forms.Padding(0);
		this.labelRack1Sample17.Name = "labelRack1Sample17";
		this.labelRack1Sample17.Size = new System.Drawing.Size(94, 127);
		this.labelRack1Sample17.TabIndex = 17;
		this.labelRack1Sample17.Text = "17";
		this.labelRack1Sample17.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
		this.labelRack1Sample17.MouseDown += new System.Windows.Forms.MouseEventHandler(label_Click);
		this.labelRack1Sample12.Dock = System.Windows.Forms.DockStyle.Fill;
		this.labelRack1Sample12.Font = new System.Drawing.Font("宋体", 15.75f, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 134);
		this.labelRack1Sample12.Image = (System.Drawing.Image)resources.GetObject("labelRack1Sample12.Image");
		this.labelRack1Sample12.Location = new System.Drawing.Point(188, 381);
		this.labelRack1Sample12.Margin = new System.Windows.Forms.Padding(0);
		this.labelRack1Sample12.Name = "labelRack1Sample12";
		this.labelRack1Sample12.Size = new System.Drawing.Size(95, 127);
		this.labelRack1Sample12.TabIndex = 12;
		this.labelRack1Sample12.Text = "12";
		this.labelRack1Sample12.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
		this.labelRack1Sample12.MouseDown += new System.Windows.Forms.MouseEventHandler(label_Click);
		this.labelRack1Sample15.Dock = System.Windows.Forms.DockStyle.Fill;
		this.labelRack1Sample15.Font = new System.Drawing.Font("宋体", 15.75f, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 134);
		this.labelRack1Sample15.Image = (System.Drawing.Image)resources.GetObject("labelRack1Sample15.Image");
		this.labelRack1Sample15.Location = new System.Drawing.Point(188, 508);
		this.labelRack1Sample15.Margin = new System.Windows.Forms.Padding(0);
		this.labelRack1Sample15.Name = "labelRack1Sample15";
		this.labelRack1Sample15.Size = new System.Drawing.Size(95, 127);
		this.labelRack1Sample15.TabIndex = 15;
		this.labelRack1Sample15.Text = "15";
		this.labelRack1Sample15.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
		this.labelRack1Sample15.MouseDown += new System.Windows.Forms.MouseEventHandler(label_Click);
		this.groupBoxRack4.Controls.Add(this.panel4);
		this.groupBoxRack4.Dock = System.Windows.Forms.DockStyle.Fill;
		this.groupBoxRack4.Location = new System.Drawing.Point(1036, 4);
		this.groupBoxRack4.Margin = new System.Windows.Forms.Padding(4);
		this.groupBoxRack4.Name = "groupBoxRack4";
		this.groupBoxRack4.Padding = new System.Windows.Forms.Padding(4);
		this.groupBoxRack4.Size = new System.Drawing.Size(337, 728);
		this.groupBoxRack4.TabIndex = 4;
		this.groupBoxRack4.TabStop = false;
		this.groupBoxRack4.Text = "试样架4";
		this.panel4.AutoScroll = true;
		this.panel4.Controls.Add(this.tableLayoutPanelSample4);
		this.panel4.Dock = System.Windows.Forms.DockStyle.Fill;
		this.panel4.Location = new System.Drawing.Point(4, 22);
		this.panel4.Margin = new System.Windows.Forms.Padding(4);
		this.panel4.Name = "panel4";
		this.panel4.Size = new System.Drawing.Size(329, 702);
		this.panel4.TabIndex = 46;
		this.tableLayoutPanelSample4.BackColor = System.Drawing.Color.DeepSkyBlue;
		this.tableLayoutPanelSample4.ColumnCount = 3;
		this.tableLayoutPanelSample4.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 33.33333f));
		this.tableLayoutPanelSample4.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 33.33334f));
		this.tableLayoutPanelSample4.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 33.33334f));
		this.tableLayoutPanelSample4.Controls.Add(this.labelRack4Sample2, 1, 0);
		this.tableLayoutPanelSample4.Controls.Add(this.labelRack4Sample21, 2, 6);
		this.tableLayoutPanelSample4.Controls.Add(this.labelRack4Sample1, 0, 0);
		this.tableLayoutPanelSample4.Controls.Add(this.labelRack4Sample18, 2, 5);
		this.tableLayoutPanelSample4.Controls.Add(this.labelRack4Sample4, 0, 1);
		this.tableLayoutPanelSample4.Controls.Add(this.labelRack4Sample5, 1, 1);
		this.tableLayoutPanelSample4.Controls.Add(this.labelRack4Sample7, 0, 2);
		this.tableLayoutPanelSample4.Controls.Add(this.labelRack4Sample9, 2, 2);
		this.tableLayoutPanelSample4.Controls.Add(this.labelRack4Sample8, 1, 2);
		this.tableLayoutPanelSample4.Controls.Add(this.labelRack4Sample6, 2, 1);
		this.tableLayoutPanelSample4.Controls.Add(this.labelRack4Sample10, 0, 3);
		this.tableLayoutPanelSample4.Controls.Add(this.labelRack4Sample3, 2, 0);
		this.tableLayoutPanelSample4.Controls.Add(this.labelRack4Sample11, 1, 3);
		this.tableLayoutPanelSample4.Controls.Add(this.labelRack4Sample20, 1, 6);
		this.tableLayoutPanelSample4.Controls.Add(this.labelRack4Sample13, 0, 4);
		this.tableLayoutPanelSample4.Controls.Add(this.labelRack4Sample19, 0, 6);
		this.tableLayoutPanelSample4.Controls.Add(this.labelRack4Sample14, 1, 4);
		this.tableLayoutPanelSample4.Controls.Add(this.labelRack4Sample16, 0, 5);
		this.tableLayoutPanelSample4.Controls.Add(this.labelRack4Sample17, 1, 5);
		this.tableLayoutPanelSample4.Controls.Add(this.labelRack4Sample12, 2, 3);
		this.tableLayoutPanelSample4.Controls.Add(this.labelRack4Sample15, 2, 4);
		this.tableLayoutPanelSample4.Location = new System.Drawing.Point(4, 4);
		this.tableLayoutPanelSample4.Margin = new System.Windows.Forms.Padding(4);
		this.tableLayoutPanelSample4.Name = "tableLayoutPanelSample4";
		this.tableLayoutPanelSample4.RowCount = 7;
		this.tableLayoutPanelSample4.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 14.28572f));
		this.tableLayoutPanelSample4.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 14.28572f));
		this.tableLayoutPanelSample4.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 14.28572f));
		this.tableLayoutPanelSample4.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 14.28572f));
		this.tableLayoutPanelSample4.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 14.28572f));
		this.tableLayoutPanelSample4.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 14.28572f));
		this.tableLayoutPanelSample4.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 14.28572f));
		this.tableLayoutPanelSample4.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 25f));
		this.tableLayoutPanelSample4.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 25f));
		this.tableLayoutPanelSample4.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 25f));
		this.tableLayoutPanelSample4.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 25f));
		this.tableLayoutPanelSample4.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 25f));
		this.tableLayoutPanelSample4.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 25f));
		this.tableLayoutPanelSample4.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 25f));
		this.tableLayoutPanelSample4.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 25f));
		this.tableLayoutPanelSample4.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 25f));
		this.tableLayoutPanelSample4.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 25f));
		this.tableLayoutPanelSample4.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 25f));
		this.tableLayoutPanelSample4.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 25f));
		this.tableLayoutPanelSample4.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 25f));
		this.tableLayoutPanelSample4.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 25f));
		this.tableLayoutPanelSample4.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 25f));
		this.tableLayoutPanelSample4.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 25f));
		this.tableLayoutPanelSample4.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 25f));
		this.tableLayoutPanelSample4.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 25f));
		this.tableLayoutPanelSample4.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 25f));
		this.tableLayoutPanelSample4.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 25f));
		this.tableLayoutPanelSample4.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 25f));
		this.tableLayoutPanelSample4.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 25f));
		this.tableLayoutPanelSample4.Size = new System.Drawing.Size(283, 895);
		this.tableLayoutPanelSample4.TabIndex = 45;
		this.labelRack4Sample2.Dock = System.Windows.Forms.DockStyle.Fill;
		this.labelRack4Sample2.Font = new System.Drawing.Font("宋体", 15.75f, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 134);
		this.labelRack4Sample2.Image = (System.Drawing.Image)resources.GetObject("labelRack4Sample2.Image");
		this.labelRack4Sample2.Location = new System.Drawing.Point(94, 0);
		this.labelRack4Sample2.Margin = new System.Windows.Forms.Padding(0);
		this.labelRack4Sample2.Name = "labelRack4Sample2";
		this.labelRack4Sample2.Size = new System.Drawing.Size(94, 127);
		this.labelRack4Sample2.TabIndex = 2;
		this.labelRack4Sample2.Text = "2";
		this.labelRack4Sample2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
		this.labelRack4Sample2.MouseDown += new System.Windows.Forms.MouseEventHandler(label_Click);
		this.labelRack4Sample21.Dock = System.Windows.Forms.DockStyle.Fill;
		this.labelRack4Sample21.Font = new System.Drawing.Font("宋体", 15.75f, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 134);
		this.labelRack4Sample21.Image = (System.Drawing.Image)resources.GetObject("labelRack4Sample21.Image");
		this.labelRack4Sample21.Location = new System.Drawing.Point(188, 762);
		this.labelRack4Sample21.Margin = new System.Windows.Forms.Padding(0);
		this.labelRack4Sample21.Name = "labelRack4Sample21";
		this.labelRack4Sample21.Size = new System.Drawing.Size(95, 133);
		this.labelRack4Sample21.TabIndex = 21;
		this.labelRack4Sample21.Text = "21";
		this.labelRack4Sample21.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
		this.labelRack4Sample21.MouseDown += new System.Windows.Forms.MouseEventHandler(label_Click);
		this.labelRack4Sample1.Dock = System.Windows.Forms.DockStyle.Fill;
		this.labelRack4Sample1.Font = new System.Drawing.Font("宋体", 15.75f, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 134);
		this.labelRack4Sample1.Image = (System.Drawing.Image)resources.GetObject("labelRack4Sample1.Image");
		this.labelRack4Sample1.Location = new System.Drawing.Point(0, 0);
		this.labelRack4Sample1.Margin = new System.Windows.Forms.Padding(0);
		this.labelRack4Sample1.Name = "labelRack4Sample1";
		this.labelRack4Sample1.Size = new System.Drawing.Size(94, 127);
		this.labelRack4Sample1.TabIndex = 1;
		this.labelRack4Sample1.Text = "1";
		this.labelRack4Sample1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
		this.labelRack4Sample1.MouseDown += new System.Windows.Forms.MouseEventHandler(label_Click);
		this.labelRack4Sample18.Dock = System.Windows.Forms.DockStyle.Fill;
		this.labelRack4Sample18.Font = new System.Drawing.Font("宋体", 15.75f, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 134);
		this.labelRack4Sample18.Image = (System.Drawing.Image)resources.GetObject("labelRack4Sample18.Image");
		this.labelRack4Sample18.Location = new System.Drawing.Point(188, 635);
		this.labelRack4Sample18.Margin = new System.Windows.Forms.Padding(0);
		this.labelRack4Sample18.Name = "labelRack4Sample18";
		this.labelRack4Sample18.Size = new System.Drawing.Size(95, 127);
		this.labelRack4Sample18.TabIndex = 18;
		this.labelRack4Sample18.Text = "18";
		this.labelRack4Sample18.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
		this.labelRack4Sample18.MouseDown += new System.Windows.Forms.MouseEventHandler(label_Click);
		this.labelRack4Sample4.Dock = System.Windows.Forms.DockStyle.Fill;
		this.labelRack4Sample4.Font = new System.Drawing.Font("宋体", 15.75f, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 134);
		this.labelRack4Sample4.Image = (System.Drawing.Image)resources.GetObject("labelRack4Sample4.Image");
		this.labelRack4Sample4.Location = new System.Drawing.Point(0, 127);
		this.labelRack4Sample4.Margin = new System.Windows.Forms.Padding(0);
		this.labelRack4Sample4.Name = "labelRack4Sample4";
		this.labelRack4Sample4.Size = new System.Drawing.Size(94, 127);
		this.labelRack4Sample4.TabIndex = 4;
		this.labelRack4Sample4.Text = "4";
		this.labelRack4Sample4.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
		this.labelRack4Sample4.MouseDown += new System.Windows.Forms.MouseEventHandler(label_Click);
		this.labelRack4Sample5.Dock = System.Windows.Forms.DockStyle.Fill;
		this.labelRack4Sample5.Font = new System.Drawing.Font("宋体", 15.75f, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 134);
		this.labelRack4Sample5.Image = (System.Drawing.Image)resources.GetObject("labelRack4Sample5.Image");
		this.labelRack4Sample5.Location = new System.Drawing.Point(94, 127);
		this.labelRack4Sample5.Margin = new System.Windows.Forms.Padding(0);
		this.labelRack4Sample5.Name = "labelRack4Sample5";
		this.labelRack4Sample5.Size = new System.Drawing.Size(94, 127);
		this.labelRack4Sample5.TabIndex = 5;
		this.labelRack4Sample5.Text = "5";
		this.labelRack4Sample5.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
		this.labelRack4Sample5.MouseDown += new System.Windows.Forms.MouseEventHandler(label_Click);
		this.labelRack4Sample7.Dock = System.Windows.Forms.DockStyle.Fill;
		this.labelRack4Sample7.Font = new System.Drawing.Font("宋体", 15.75f, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 134);
		this.labelRack4Sample7.Image = (System.Drawing.Image)resources.GetObject("labelRack4Sample7.Image");
		this.labelRack4Sample7.Location = new System.Drawing.Point(0, 254);
		this.labelRack4Sample7.Margin = new System.Windows.Forms.Padding(0);
		this.labelRack4Sample7.Name = "labelRack4Sample7";
		this.labelRack4Sample7.Size = new System.Drawing.Size(94, 127);
		this.labelRack4Sample7.TabIndex = 7;
		this.labelRack4Sample7.Text = "7";
		this.labelRack4Sample7.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
		this.labelRack4Sample7.MouseDown += new System.Windows.Forms.MouseEventHandler(label_Click);
		this.labelRack4Sample9.Dock = System.Windows.Forms.DockStyle.Fill;
		this.labelRack4Sample9.Font = new System.Drawing.Font("宋体", 15.75f, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 134);
		this.labelRack4Sample9.Image = (System.Drawing.Image)resources.GetObject("labelRack4Sample9.Image");
		this.labelRack4Sample9.Location = new System.Drawing.Point(188, 254);
		this.labelRack4Sample9.Margin = new System.Windows.Forms.Padding(0);
		this.labelRack4Sample9.Name = "labelRack4Sample9";
		this.labelRack4Sample9.Size = new System.Drawing.Size(95, 127);
		this.labelRack4Sample9.TabIndex = 9;
		this.labelRack4Sample9.Text = "9";
		this.labelRack4Sample9.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
		this.labelRack4Sample9.MouseDown += new System.Windows.Forms.MouseEventHandler(label_Click);
		this.labelRack4Sample8.Dock = System.Windows.Forms.DockStyle.Fill;
		this.labelRack4Sample8.Font = new System.Drawing.Font("宋体", 15.75f, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 134);
		this.labelRack4Sample8.Image = (System.Drawing.Image)resources.GetObject("labelRack4Sample8.Image");
		this.labelRack4Sample8.Location = new System.Drawing.Point(94, 254);
		this.labelRack4Sample8.Margin = new System.Windows.Forms.Padding(0);
		this.labelRack4Sample8.Name = "labelRack4Sample8";
		this.labelRack4Sample8.Size = new System.Drawing.Size(94, 127);
		this.labelRack4Sample8.TabIndex = 8;
		this.labelRack4Sample8.Text = "8";
		this.labelRack4Sample8.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
		this.labelRack4Sample8.MouseDown += new System.Windows.Forms.MouseEventHandler(label_Click);
		this.labelRack4Sample6.Dock = System.Windows.Forms.DockStyle.Fill;
		this.labelRack4Sample6.Font = new System.Drawing.Font("宋体", 15.75f, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 134);
		this.labelRack4Sample6.Image = (System.Drawing.Image)resources.GetObject("labelRack4Sample6.Image");
		this.labelRack4Sample6.Location = new System.Drawing.Point(188, 127);
		this.labelRack4Sample6.Margin = new System.Windows.Forms.Padding(0);
		this.labelRack4Sample6.Name = "labelRack4Sample6";
		this.labelRack4Sample6.Size = new System.Drawing.Size(95, 127);
		this.labelRack4Sample6.TabIndex = 6;
		this.labelRack4Sample6.Text = "6";
		this.labelRack4Sample6.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
		this.labelRack4Sample6.MouseDown += new System.Windows.Forms.MouseEventHandler(label_Click);
		this.labelRack4Sample10.Dock = System.Windows.Forms.DockStyle.Fill;
		this.labelRack4Sample10.Font = new System.Drawing.Font("宋体", 15.75f, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 134);
		this.labelRack4Sample10.Image = (System.Drawing.Image)resources.GetObject("labelRack4Sample10.Image");
		this.labelRack4Sample10.Location = new System.Drawing.Point(0, 381);
		this.labelRack4Sample10.Margin = new System.Windows.Forms.Padding(0);
		this.labelRack4Sample10.Name = "labelRack4Sample10";
		this.labelRack4Sample10.Size = new System.Drawing.Size(94, 127);
		this.labelRack4Sample10.TabIndex = 10;
		this.labelRack4Sample10.Text = "10";
		this.labelRack4Sample10.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
		this.labelRack4Sample10.MouseDown += new System.Windows.Forms.MouseEventHandler(label_Click);
		this.labelRack4Sample3.Dock = System.Windows.Forms.DockStyle.Fill;
		this.labelRack4Sample3.Font = new System.Drawing.Font("宋体", 15.75f, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 134);
		this.labelRack4Sample3.Image = (System.Drawing.Image)resources.GetObject("labelRack4Sample3.Image");
		this.labelRack4Sample3.Location = new System.Drawing.Point(188, 0);
		this.labelRack4Sample3.Margin = new System.Windows.Forms.Padding(0);
		this.labelRack4Sample3.Name = "labelRack4Sample3";
		this.labelRack4Sample3.Size = new System.Drawing.Size(95, 127);
		this.labelRack4Sample3.TabIndex = 3;
		this.labelRack4Sample3.Text = "3";
		this.labelRack4Sample3.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
		this.labelRack4Sample3.MouseDown += new System.Windows.Forms.MouseEventHandler(label_Click);
		this.labelRack4Sample11.Dock = System.Windows.Forms.DockStyle.Fill;
		this.labelRack4Sample11.Font = new System.Drawing.Font("宋体", 15.75f, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 134);
		this.labelRack4Sample11.Image = (System.Drawing.Image)resources.GetObject("labelRack4Sample11.Image");
		this.labelRack4Sample11.Location = new System.Drawing.Point(94, 381);
		this.labelRack4Sample11.Margin = new System.Windows.Forms.Padding(0);
		this.labelRack4Sample11.Name = "labelRack4Sample11";
		this.labelRack4Sample11.Size = new System.Drawing.Size(94, 127);
		this.labelRack4Sample11.TabIndex = 11;
		this.labelRack4Sample11.Text = "11";
		this.labelRack4Sample11.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
		this.labelRack4Sample11.MouseDown += new System.Windows.Forms.MouseEventHandler(label_Click);
		this.labelRack4Sample20.Dock = System.Windows.Forms.DockStyle.Fill;
		this.labelRack4Sample20.Font = new System.Drawing.Font("宋体", 15.75f, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 134);
		this.labelRack4Sample20.Image = (System.Drawing.Image)resources.GetObject("labelRack4Sample20.Image");
		this.labelRack4Sample20.Location = new System.Drawing.Point(94, 762);
		this.labelRack4Sample20.Margin = new System.Windows.Forms.Padding(0);
		this.labelRack4Sample20.Name = "labelRack4Sample20";
		this.labelRack4Sample20.Size = new System.Drawing.Size(94, 133);
		this.labelRack4Sample20.TabIndex = 20;
		this.labelRack4Sample20.Text = "20";
		this.labelRack4Sample20.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
		this.labelRack4Sample20.MouseDown += new System.Windows.Forms.MouseEventHandler(label_Click);
		this.labelRack4Sample13.Dock = System.Windows.Forms.DockStyle.Fill;
		this.labelRack4Sample13.Font = new System.Drawing.Font("宋体", 15.75f, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 134);
		this.labelRack4Sample13.Image = (System.Drawing.Image)resources.GetObject("labelRack4Sample13.Image");
		this.labelRack4Sample13.Location = new System.Drawing.Point(0, 508);
		this.labelRack4Sample13.Margin = new System.Windows.Forms.Padding(0);
		this.labelRack4Sample13.Name = "labelRack4Sample13";
		this.labelRack4Sample13.Size = new System.Drawing.Size(94, 127);
		this.labelRack4Sample13.TabIndex = 13;
		this.labelRack4Sample13.Text = "13";
		this.labelRack4Sample13.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
		this.labelRack4Sample13.MouseDown += new System.Windows.Forms.MouseEventHandler(label_Click);
		this.labelRack4Sample19.Dock = System.Windows.Forms.DockStyle.Fill;
		this.labelRack4Sample19.Font = new System.Drawing.Font("宋体", 15.75f, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 134);
		this.labelRack4Sample19.Image = (System.Drawing.Image)resources.GetObject("labelRack4Sample19.Image");
		this.labelRack4Sample19.Location = new System.Drawing.Point(0, 762);
		this.labelRack4Sample19.Margin = new System.Windows.Forms.Padding(0);
		this.labelRack4Sample19.Name = "labelRack4Sample19";
		this.labelRack4Sample19.Size = new System.Drawing.Size(94, 133);
		this.labelRack4Sample19.TabIndex = 19;
		this.labelRack4Sample19.Text = "19";
		this.labelRack4Sample19.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
		this.labelRack4Sample19.MouseDown += new System.Windows.Forms.MouseEventHandler(label_Click);
		this.labelRack4Sample14.Dock = System.Windows.Forms.DockStyle.Fill;
		this.labelRack4Sample14.Font = new System.Drawing.Font("宋体", 15.75f, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 134);
		this.labelRack4Sample14.Image = (System.Drawing.Image)resources.GetObject("labelRack4Sample14.Image");
		this.labelRack4Sample14.Location = new System.Drawing.Point(94, 508);
		this.labelRack4Sample14.Margin = new System.Windows.Forms.Padding(0);
		this.labelRack4Sample14.Name = "labelRack4Sample14";
		this.labelRack4Sample14.Size = new System.Drawing.Size(94, 127);
		this.labelRack4Sample14.TabIndex = 14;
		this.labelRack4Sample14.Text = "14";
		this.labelRack4Sample14.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
		this.labelRack4Sample14.MouseDown += new System.Windows.Forms.MouseEventHandler(label_Click);
		this.labelRack4Sample16.Dock = System.Windows.Forms.DockStyle.Fill;
		this.labelRack4Sample16.Font = new System.Drawing.Font("宋体", 15.75f, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 134);
		this.labelRack4Sample16.Image = (System.Drawing.Image)resources.GetObject("labelRack4Sample16.Image");
		this.labelRack4Sample16.Location = new System.Drawing.Point(0, 635);
		this.labelRack4Sample16.Margin = new System.Windows.Forms.Padding(0);
		this.labelRack4Sample16.Name = "labelRack4Sample16";
		this.labelRack4Sample16.Size = new System.Drawing.Size(94, 127);
		this.labelRack4Sample16.TabIndex = 16;
		this.labelRack4Sample16.Text = "16";
		this.labelRack4Sample16.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
		this.labelRack4Sample16.MouseDown += new System.Windows.Forms.MouseEventHandler(label_Click);
		this.labelRack4Sample17.Dock = System.Windows.Forms.DockStyle.Fill;
		this.labelRack4Sample17.Font = new System.Drawing.Font("宋体", 15.75f, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 134);
		this.labelRack4Sample17.Image = (System.Drawing.Image)resources.GetObject("labelRack4Sample17.Image");
		this.labelRack4Sample17.Location = new System.Drawing.Point(94, 635);
		this.labelRack4Sample17.Margin = new System.Windows.Forms.Padding(0);
		this.labelRack4Sample17.Name = "labelRack4Sample17";
		this.labelRack4Sample17.Size = new System.Drawing.Size(94, 127);
		this.labelRack4Sample17.TabIndex = 17;
		this.labelRack4Sample17.Text = "17";
		this.labelRack4Sample17.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
		this.labelRack4Sample17.MouseDown += new System.Windows.Forms.MouseEventHandler(label_Click);
		this.labelRack4Sample12.Dock = System.Windows.Forms.DockStyle.Fill;
		this.labelRack4Sample12.Font = new System.Drawing.Font("宋体", 15.75f, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 134);
		this.labelRack4Sample12.Image = (System.Drawing.Image)resources.GetObject("labelRack4Sample12.Image");
		this.labelRack4Sample12.Location = new System.Drawing.Point(188, 381);
		this.labelRack4Sample12.Margin = new System.Windows.Forms.Padding(0);
		this.labelRack4Sample12.Name = "labelRack4Sample12";
		this.labelRack4Sample12.Size = new System.Drawing.Size(95, 127);
		this.labelRack4Sample12.TabIndex = 12;
		this.labelRack4Sample12.Text = "12";
		this.labelRack4Sample12.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
		this.labelRack4Sample12.MouseDown += new System.Windows.Forms.MouseEventHandler(label_Click);
		this.labelRack4Sample15.Dock = System.Windows.Forms.DockStyle.Fill;
		this.labelRack4Sample15.Font = new System.Drawing.Font("宋体", 15.75f, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 134);
		this.labelRack4Sample15.Image = (System.Drawing.Image)resources.GetObject("labelRack4Sample15.Image");
		this.labelRack4Sample15.Location = new System.Drawing.Point(188, 508);
		this.labelRack4Sample15.Margin = new System.Windows.Forms.Padding(0);
		this.labelRack4Sample15.Name = "labelRack4Sample15";
		this.labelRack4Sample15.Size = new System.Drawing.Size(95, 127);
		this.labelRack4Sample15.TabIndex = 15;
		this.labelRack4Sample15.Text = "15";
		this.labelRack4Sample15.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
		this.labelRack4Sample15.MouseDown += new System.Windows.Forms.MouseEventHandler(label_Click);
		this.panel6.AutoSize = true;
		this.panel6.Controls.Add(this.groupBoxStandard);
		this.panel6.Dock = System.Windows.Forms.DockStyle.Top;
		this.panel6.Location = new System.Drawing.Point(3, 3);
		this.panel6.Name = "panel6";
		this.panel6.Size = new System.Drawing.Size(1379, 276);
		this.panel6.TabIndex = 7;
		this.groupBoxStandard.AutoSize = true;
		this.groupBoxStandard.Controls.Add(this.tableLayoutPanelStandardSample);
		this.groupBoxStandard.Location = new System.Drawing.Point(4, 6);
		this.groupBoxStandard.Margin = new System.Windows.Forms.Padding(4);
		this.groupBoxStandard.Name = "groupBoxStandard";
		this.groupBoxStandard.Padding = new System.Windows.Forms.Padding(4);
		this.groupBoxStandard.Size = new System.Drawing.Size(1393, 269);
		this.groupBoxStandard.TabIndex = 8;
		this.groupBoxStandard.TabStop = false;
		this.groupBoxStandard.Text = "标样";
		this.tableLayoutPanelStandardSample.AutoSize = true;
		this.tableLayoutPanelStandardSample.BackColor = System.Drawing.SystemColors.GradientActiveCaption;
		this.tableLayoutPanelStandardSample.ColumnCount = 10;
		this.tableLayoutPanelStandardSample.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
		this.tableLayoutPanelStandardSample.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 11.11111f));
		this.tableLayoutPanelStandardSample.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 11.11111f));
		this.tableLayoutPanelStandardSample.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 11.11111f));
		this.tableLayoutPanelStandardSample.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 11.11111f));
		this.tableLayoutPanelStandardSample.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 11.11111f));
		this.tableLayoutPanelStandardSample.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 11.11111f));
		this.tableLayoutPanelStandardSample.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 11.11111f));
		this.tableLayoutPanelStandardSample.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 11.11111f));
		this.tableLayoutPanelStandardSample.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 11.11111f));
		this.tableLayoutPanelStandardSample.Controls.Add(this.labelStandard1, 0, 0);
		this.tableLayoutPanelStandardSample.Controls.Add(this.labelStandard10, 9, 0);
		this.tableLayoutPanelStandardSample.Controls.Add(this.labelStandard2, 1, 0);
		this.tableLayoutPanelStandardSample.Controls.Add(this.labelStandard9, 8, 0);
		this.tableLayoutPanelStandardSample.Controls.Add(this.labelStandard3, 2, 0);
		this.tableLayoutPanelStandardSample.Controls.Add(this.labelStandard4, 3, 0);
		this.tableLayoutPanelStandardSample.Controls.Add(this.labelStandard7, 6, 0);
		this.tableLayoutPanelStandardSample.Controls.Add(this.labelStandard5, 4, 0);
		this.tableLayoutPanelStandardSample.Controls.Add(this.labelStandard6, 5, 0);
		this.tableLayoutPanelStandardSample.Controls.Add(this.labelStandard8, 7, 0);
		this.tableLayoutPanelStandardSample.Location = new System.Drawing.Point(-2, 26);
		this.tableLayoutPanelStandardSample.Margin = new System.Windows.Forms.Padding(4);
		this.tableLayoutPanelStandardSample.Name = "tableLayoutPanelStandardSample";
		this.tableLayoutPanelStandardSample.RowCount = 1;
		this.tableLayoutPanelStandardSample.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100f));
		this.tableLayoutPanelStandardSample.Size = new System.Drawing.Size(1387, 91);
		this.tableLayoutPanelStandardSample.TabIndex = 11;
		this.labelStandard1.Dock = System.Windows.Forms.DockStyle.Fill;
		this.labelStandard1.Font = new System.Drawing.Font("宋体", 15.75f, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 134);
		this.labelStandard1.ForeColor = System.Drawing.Color.Black;
		this.labelStandard1.Image = (System.Drawing.Image)resources.GetObject("labelStandard1.Image");
		this.labelStandard1.Location = new System.Drawing.Point(0, 0);
		this.labelStandard1.Margin = new System.Windows.Forms.Padding(0);
		this.labelStandard1.Name = "labelStandard1";
		this.labelStandard1.Size = new System.Drawing.Size(136, 91);
		this.labelStandard1.TabIndex = 0;
		this.labelStandard1.Tag = "1";
		this.labelStandard1.Text = "1";
		this.labelStandard1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
		this.labelStandard10.Dock = System.Windows.Forms.DockStyle.Fill;
		this.labelStandard10.Font = new System.Drawing.Font("宋体", 15.75f, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 134);
		this.labelStandard10.ForeColor = System.Drawing.Color.Black;
		this.labelStandard10.Image = (System.Drawing.Image)resources.GetObject("labelStandard10.Image");
		this.labelStandard10.Location = new System.Drawing.Point(1248, 0);
		this.labelStandard10.Margin = new System.Windows.Forms.Padding(0);
		this.labelStandard10.Name = "labelStandard10";
		this.labelStandard10.Size = new System.Drawing.Size(139, 91);
		this.labelStandard10.TabIndex = 10;
		this.labelStandard10.Tag = "10";
		this.labelStandard10.Text = "10";
		this.labelStandard10.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
		this.labelStandard2.Dock = System.Windows.Forms.DockStyle.Fill;
		this.labelStandard2.Font = new System.Drawing.Font("宋体", 15.75f, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 134);
		this.labelStandard2.ForeColor = System.Drawing.Color.Black;
		this.labelStandard2.Image = (System.Drawing.Image)resources.GetObject("labelStandard2.Image");
		this.labelStandard2.Location = new System.Drawing.Point(136, 0);
		this.labelStandard2.Margin = new System.Windows.Forms.Padding(0);
		this.labelStandard2.Name = "labelStandard2";
		this.labelStandard2.Size = new System.Drawing.Size(139, 91);
		this.labelStandard2.TabIndex = 2;
		this.labelStandard2.Tag = "2";
		this.labelStandard2.Text = "2";
		this.labelStandard2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
		this.labelStandard9.Dock = System.Windows.Forms.DockStyle.Fill;
		this.labelStandard9.Font = new System.Drawing.Font("宋体", 15.75f, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 134);
		this.labelStandard9.ForeColor = System.Drawing.Color.Black;
		this.labelStandard9.Image = (System.Drawing.Image)resources.GetObject("labelStandard9.Image");
		this.labelStandard9.Location = new System.Drawing.Point(1109, 0);
		this.labelStandard9.Margin = new System.Windows.Forms.Padding(0);
		this.labelStandard9.Name = "labelStandard9";
		this.labelStandard9.Size = new System.Drawing.Size(139, 91);
		this.labelStandard9.TabIndex = 9;
		this.labelStandard9.Tag = "9";
		this.labelStandard9.Text = "9";
		this.labelStandard9.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
		this.labelStandard3.Dock = System.Windows.Forms.DockStyle.Fill;
		this.labelStandard3.Font = new System.Drawing.Font("宋体", 15.75f, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 134);
		this.labelStandard3.ForeColor = System.Drawing.Color.Black;
		this.labelStandard3.Image = (System.Drawing.Image)resources.GetObject("labelStandard3.Image");
		this.labelStandard3.Location = new System.Drawing.Point(275, 0);
		this.labelStandard3.Margin = new System.Windows.Forms.Padding(0);
		this.labelStandard3.Name = "labelStandard3";
		this.labelStandard3.Size = new System.Drawing.Size(139, 91);
		this.labelStandard3.TabIndex = 3;
		this.labelStandard3.Tag = "3";
		this.labelStandard3.Text = "3";
		this.labelStandard3.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
		this.labelStandard4.Dock = System.Windows.Forms.DockStyle.Fill;
		this.labelStandard4.Font = new System.Drawing.Font("宋体", 15.75f, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 134);
		this.labelStandard4.ForeColor = System.Drawing.Color.Black;
		this.labelStandard4.Image = (System.Drawing.Image)resources.GetObject("labelStandard4.Image");
		this.labelStandard4.Location = new System.Drawing.Point(414, 0);
		this.labelStandard4.Margin = new System.Windows.Forms.Padding(0);
		this.labelStandard4.Name = "labelStandard4";
		this.labelStandard4.Size = new System.Drawing.Size(139, 91);
		this.labelStandard4.TabIndex = 4;
		this.labelStandard4.Tag = "4";
		this.labelStandard4.Text = "4";
		this.labelStandard4.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
		this.labelStandard7.Dock = System.Windows.Forms.DockStyle.Fill;
		this.labelStandard7.Font = new System.Drawing.Font("宋体", 15.75f, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 134);
		this.labelStandard7.ForeColor = System.Drawing.Color.Black;
		this.labelStandard7.Image = (System.Drawing.Image)resources.GetObject("labelStandard7.Image");
		this.labelStandard7.Location = new System.Drawing.Point(831, 0);
		this.labelStandard7.Margin = new System.Windows.Forms.Padding(0);
		this.labelStandard7.Name = "labelStandard7";
		this.labelStandard7.Size = new System.Drawing.Size(139, 91);
		this.labelStandard7.TabIndex = 7;
		this.labelStandard7.Tag = "7";
		this.labelStandard7.Text = "7";
		this.labelStandard7.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
		this.labelStandard5.Dock = System.Windows.Forms.DockStyle.Fill;
		this.labelStandard5.Font = new System.Drawing.Font("宋体", 15.75f, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 134);
		this.labelStandard5.ForeColor = System.Drawing.Color.Black;
		this.labelStandard5.Image = (System.Drawing.Image)resources.GetObject("labelStandard5.Image");
		this.labelStandard5.Location = new System.Drawing.Point(553, 0);
		this.labelStandard5.Margin = new System.Windows.Forms.Padding(0);
		this.labelStandard5.Name = "labelStandard5";
		this.labelStandard5.Size = new System.Drawing.Size(139, 91);
		this.labelStandard5.TabIndex = 5;
		this.labelStandard5.Tag = "5";
		this.labelStandard5.Text = "5";
		this.labelStandard5.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
		this.labelStandard6.Dock = System.Windows.Forms.DockStyle.Fill;
		this.labelStandard6.Font = new System.Drawing.Font("宋体", 15.75f, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 134);
		this.labelStandard6.ForeColor = System.Drawing.Color.Black;
		this.labelStandard6.Image = (System.Drawing.Image)resources.GetObject("labelStandard6.Image");
		this.labelStandard6.Location = new System.Drawing.Point(692, 0);
		this.labelStandard6.Margin = new System.Windows.Forms.Padding(0);
		this.labelStandard6.Name = "labelStandard6";
		this.labelStandard6.Size = new System.Drawing.Size(139, 91);
		this.labelStandard6.TabIndex = 6;
		this.labelStandard6.Tag = "6";
		this.labelStandard6.Text = "6";
		this.labelStandard6.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
		this.labelStandard8.Dock = System.Windows.Forms.DockStyle.Fill;
		this.labelStandard8.Font = new System.Drawing.Font("宋体", 15.75f, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 134);
		this.labelStandard8.ForeColor = System.Drawing.Color.Black;
		this.labelStandard8.Image = (System.Drawing.Image)resources.GetObject("labelStandard8.Image");
		this.labelStandard8.Location = new System.Drawing.Point(970, 0);
		this.labelStandard8.Margin = new System.Windows.Forms.Padding(0);
		this.labelStandard8.Name = "labelStandard8";
		this.labelStandard8.Size = new System.Drawing.Size(139, 91);
		this.labelStandard8.TabIndex = 8;
		this.labelStandard8.Tag = "8";
		this.labelStandard8.Text = "8";
		this.labelStandard8.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
		this.groupBoxChosenRack.Controls.Add(this.label3);
		this.groupBoxChosenRack.Controls.Add(this.labelRackNumber);
		this.groupBoxChosenRack.Controls.Add(this.buttonMoveProbeABS);
		this.groupBoxChosenRack.Controls.Add(this.labelZLocation);
		this.groupBoxChosenRack.Controls.Add(this.numericUpDownVialNumber);
		this.groupBoxChosenRack.Controls.Add(this.numericUpDownRackNumber);
		this.groupBoxChosenRack.Controls.Add(this.numericUpDownZLocation);
		this.groupBoxChosenRack.Controls.Add(this.textBoxSampleNumber);
		this.groupBoxChosenRack.Controls.Add(this.labelSampleNumber);
		this.groupBoxChosenRack.Controls.Add(this.labelVialNumber);
		this.groupBoxChosenRack.Location = new System.Drawing.Point(10, 55);
		this.groupBoxChosenRack.Margin = new System.Windows.Forms.Padding(4);
		this.groupBoxChosenRack.Name = "groupBoxChosenRack";
		this.groupBoxChosenRack.Padding = new System.Windows.Forms.Padding(4);
		this.groupBoxChosenRack.Size = new System.Drawing.Size(329, 173);
		this.groupBoxChosenRack.TabIndex = 2;
		this.groupBoxChosenRack.TabStop = false;
		this.groupBoxChosenRack.Text = "探针位置";
		this.groupBoxChosenRack.Enter += new System.EventHandler(groupBoxChosenRack_Enter);
		this.label3.AutoSize = true;
		this.label3.Location = new System.Drawing.Point(200, 109);
		this.label3.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
		this.label3.Name = "label3";
		this.label3.Size = new System.Drawing.Size(23, 15);
		this.label3.TabIndex = 19;
		this.label3.Text = "mm";
		this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
		this.labelRackNumber.AutoSize = true;
		this.labelRackNumber.Location = new System.Drawing.Point(13, 36);
		this.labelRackNumber.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
		this.labelRackNumber.Name = "labelRackNumber";
		this.labelRackNumber.Size = new System.Drawing.Size(52, 15);
		this.labelRackNumber.TabIndex = 0;
		this.labelRackNumber.Text = "试样架";
		this.labelRackNumber.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
		this.buttonMoveProbeABS.Location = new System.Drawing.Point(216, 131);
		this.buttonMoveProbeABS.Margin = new System.Windows.Forms.Padding(4);
		this.buttonMoveProbeABS.Name = "buttonMoveProbeABS";
		this.buttonMoveProbeABS.Size = new System.Drawing.Size(85, 30);
		this.buttonMoveProbeABS.TabIndex = 4;
		this.buttonMoveProbeABS.Text = "移动";
		this.buttonMoveProbeABS.UseVisualStyleBackColor = true;
		this.buttonMoveProbeABS.Click += new System.EventHandler(buttonMoveProbeABS_Click);
		this.labelZLocation.AutoSize = true;
		this.labelZLocation.Location = new System.Drawing.Point(13, 106);
		this.labelZLocation.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
		this.labelZLocation.Name = "labelZLocation";
		this.labelZLocation.Size = new System.Drawing.Size(45, 15);
		this.labelZLocation.TabIndex = 17;
		this.labelZLocation.Text = "Z深度";
		this.labelZLocation.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
		this.numericUpDownVialNumber.Location = new System.Drawing.Point(79, 69);
		this.numericUpDownVialNumber.Margin = new System.Windows.Forms.Padding(4);
		this.numericUpDownVialNumber.Minimum = new decimal(new int[4] { 1, 0, 0, 0 });
		this.numericUpDownVialNumber.Name = "numericUpDownVialNumber";
		this.numericUpDownVialNumber.Size = new System.Drawing.Size(113, 25);
		this.numericUpDownVialNumber.TabIndex = 6;
		this.numericUpDownVialNumber.Value = new decimal(new int[4] { 1, 0, 0, 0 });
		this.numericUpDownVialNumber.ValueChanged += new System.EventHandler(numericUpDownVialNumber_ValueChanged);
		this.numericUpDownRackNumber.Location = new System.Drawing.Point(79, 34);
		this.numericUpDownRackNumber.Margin = new System.Windows.Forms.Padding(4);
		this.numericUpDownRackNumber.Name = "numericUpDownRackNumber";
		this.numericUpDownRackNumber.Size = new System.Drawing.Size(113, 25);
		this.numericUpDownRackNumber.TabIndex = 5;
		this.numericUpDownZLocation.Increment = new decimal(new int[4] { 1, 0, 0, 131072 });
		this.numericUpDownZLocation.Location = new System.Drawing.Point(79, 104);
		this.numericUpDownZLocation.Margin = new System.Windows.Forms.Padding(4);
		this.numericUpDownZLocation.Name = "numericUpDownZLocation";
		this.numericUpDownZLocation.Size = new System.Drawing.Size(113, 25);
		this.numericUpDownZLocation.TabIndex = 18;
		this.numericUpDownZLocation.ValueChanged += new System.EventHandler(numericUpDownZLocation_ValueChanged);
		this.textBoxSampleNumber.BackColor = System.Drawing.SystemColors.Window;
		this.textBoxSampleNumber.Location = new System.Drawing.Point(79, 135);
		this.textBoxSampleNumber.Margin = new System.Windows.Forms.Padding(4);
		this.textBoxSampleNumber.Multiline = true;
		this.textBoxSampleNumber.Name = "textBoxSampleNumber";
		this.textBoxSampleNumber.ReadOnly = true;
		this.textBoxSampleNumber.Size = new System.Drawing.Size(113, 26);
		this.textBoxSampleNumber.TabIndex = 18;
		this.labelSampleNumber.AutoSize = true;
		this.labelSampleNumber.Location = new System.Drawing.Point(13, 141);
		this.labelSampleNumber.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
		this.labelSampleNumber.Name = "labelSampleNumber";
		this.labelSampleNumber.Size = new System.Drawing.Size(52, 15);
		this.labelSampleNumber.TabIndex = 17;
		this.labelSampleNumber.Text = "样品号";
		this.labelSampleNumber.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
		this.labelVialNumber.AutoSize = true;
		this.labelVialNumber.Location = new System.Drawing.Point(13, 71);
		this.labelVialNumber.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
		this.labelVialNumber.Name = "labelVialNumber";
		this.labelVialNumber.Size = new System.Drawing.Size(52, 15);
		this.labelVialNumber.TabIndex = 2;
		this.labelVialNumber.Text = "试管号";
		this.labelVialNumber.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
		this.groupBoxCommunication.Controls.Add(this.comboBoxBaudRate);
		this.groupBoxCommunication.Controls.Add(this.labelSerialPort);
		this.groupBoxCommunication.Controls.Add(this.comboBoxSerialPort);
		this.groupBoxCommunication.Controls.Add(this.btnOpenSerial);
		this.groupBoxCommunication.Controls.Add(this.labelSerialSpeed);
		this.groupBoxCommunication.Location = new System.Drawing.Point(13, 640);
		this.groupBoxCommunication.Margin = new System.Windows.Forms.Padding(4);
		this.groupBoxCommunication.Name = "groupBoxCommunication";
		this.groupBoxCommunication.Padding = new System.Windows.Forms.Padding(4);
		this.groupBoxCommunication.Size = new System.Drawing.Size(326, 91);
		this.groupBoxCommunication.TabIndex = 5;
		this.groupBoxCommunication.TabStop = false;
		this.groupBoxCommunication.Text = "通信";
		this.comboBoxBaudRate.FormattingEnabled = true;
		this.comboBoxBaudRate.Items.AddRange(new object[8] { "300", "600", "1200", "2400", "4800", "9600", "19200", "38400" });
		this.comboBoxBaudRate.Location = new System.Drawing.Point(80, 60);
		this.comboBoxBaudRate.Margin = new System.Windows.Forms.Padding(4);
		this.comboBoxBaudRate.Name = "comboBoxBaudRate";
		this.comboBoxBaudRate.Size = new System.Drawing.Size(113, 23);
		this.comboBoxBaudRate.TabIndex = 3;
		this.comboBoxBaudRate.Text = "9600";
		this.comboBoxBaudRate.SelectedIndexChanged += new System.EventHandler(comboBoxBaudRate_SelectedIndexChanged);
		this.labelSerialPort.AutoSize = true;
		this.labelSerialPort.Location = new System.Drawing.Point(16, 26);
		this.labelSerialPort.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
		this.labelSerialPort.Name = "labelSerialPort";
		this.labelSerialPort.Size = new System.Drawing.Size(37, 15);
		this.labelSerialPort.TabIndex = 0;
		this.labelSerialPort.Text = "串口";
		this.labelSerialPort.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
		this.comboBoxSerialPort.FormattingEnabled = true;
		this.comboBoxSerialPort.Location = new System.Drawing.Point(80, 18);
		this.comboBoxSerialPort.Margin = new System.Windows.Forms.Padding(4);
		this.comboBoxSerialPort.Name = "comboBoxSerialPort";
		this.comboBoxSerialPort.Size = new System.Drawing.Size(113, 23);
		this.comboBoxSerialPort.TabIndex = 1;
		this.comboBoxSerialPort.Text = "COM1";
		this.comboBoxSerialPort.SelectedIndexChanged += new System.EventHandler(comboBoxSerialPort_SelectedIndexChanged);
		this.btnOpenSerial.Location = new System.Drawing.Point(201, 35);
		this.btnOpenSerial.Margin = new System.Windows.Forms.Padding(4);
		this.btnOpenSerial.Name = "btnOpenSerial";
		this.btnOpenSerial.Size = new System.Drawing.Size(97, 31);
		this.btnOpenSerial.TabIndex = 17;
		this.btnOpenSerial.Text = "打开";
		this.btnOpenSerial.UseVisualStyleBackColor = true;
		this.btnOpenSerial.Click += new System.EventHandler(btnOpenSerial_Click);
		this.labelSerialSpeed.AutoSize = true;
		this.labelSerialSpeed.Location = new System.Drawing.Point(16, 60);
		this.labelSerialSpeed.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
		this.labelSerialSpeed.Name = "labelSerialSpeed";
		this.labelSerialSpeed.Size = new System.Drawing.Size(37, 15);
		this.labelSerialSpeed.TabIndex = 2;
		this.labelSerialSpeed.Text = "速率";
		this.labelSerialSpeed.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
		this.labelSerialSpeed.Click += new System.EventHandler(labelSerialSpeed_Click);
		this.groupBoxRinse.Controls.Add(this.numericRinse);
		this.groupBoxRinse.Controls.Add(this.buttonRinse);
		this.groupBoxRinse.Controls.Add(this.buttonPark);
		this.groupBoxRinse.Location = new System.Drawing.Point(13, 566);
		this.groupBoxRinse.Margin = new System.Windows.Forms.Padding(4);
		this.groupBoxRinse.Name = "groupBoxRinse";
		this.groupBoxRinse.Padding = new System.Windows.Forms.Padding(4);
		this.groupBoxRinse.Size = new System.Drawing.Size(326, 62);
		this.groupBoxRinse.TabIndex = 4;
		this.groupBoxRinse.TabStop = false;
		this.groupBoxRinse.Text = "清洗";
		this.numericRinse.Location = new System.Drawing.Point(124, 25);
		this.numericRinse.Margin = new System.Windows.Forms.Padding(4);
		this.numericRinse.Maximum = new decimal(new int[4] { 30, 0, 0, 0 });
		this.numericRinse.Minimum = new decimal(new int[4] { 1, 0, 0, 0 });
		this.numericRinse.Name = "numericRinse";
		this.numericRinse.Size = new System.Drawing.Size(90, 25);
		this.numericRinse.TabIndex = 15;
		this.numericRinse.Value = new decimal(new int[4] { 3, 0, 0, 0 });
		this.buttonRinse.Location = new System.Drawing.Point(13, 18);
		this.buttonRinse.Margin = new System.Windows.Forms.Padding(4);
		this.buttonRinse.Name = "buttonRinse";
		this.buttonRinse.Size = new System.Drawing.Size(103, 36);
		this.buttonRinse.TabIndex = 0;
		this.buttonRinse.Text = "清洗";
		this.buttonRinse.UseVisualStyleBackColor = true;
		this.buttonRinse.Click += new System.EventHandler(buttonRinse_Click);
		this.buttonPark.Location = new System.Drawing.Point(234, 18);
		this.buttonPark.Margin = new System.Windows.Forms.Padding(4);
		this.buttonPark.Name = "buttonPark";
		this.buttonPark.Size = new System.Drawing.Size(76, 36);
		this.buttonPark.TabIndex = 14;
		this.buttonPark.Text = "Park";
		this.buttonPark.UseVisualStyleBackColor = true;
		this.buttonPark.Click += new System.EventHandler(buttonPark_Click);
		this.groupBoxPump.Controls.Add(this.labelPumpStatus);
		this.groupBoxPump.Controls.Add(this.btnOpenPeristic);
		this.groupBoxPump.Controls.Add(this.buttonSaveSpeed);
		this.groupBoxPump.Controls.Add(this.labelPumpSpeed);
		this.groupBoxPump.Controls.Add(this.buttonSetupPumpSpeed);
		this.groupBoxPump.Controls.Add(this.numericUpDownPumpSpeed);
		this.groupBoxPump.Location = new System.Drawing.Point(10, 468);
		this.groupBoxPump.Margin = new System.Windows.Forms.Padding(4);
		this.groupBoxPump.Name = "groupBoxPump";
		this.groupBoxPump.Padding = new System.Windows.Forms.Padding(4);
		this.groupBoxPump.Size = new System.Drawing.Size(329, 96);
		this.groupBoxPump.TabIndex = 3;
		this.groupBoxPump.TabStop = false;
		this.groupBoxPump.Text = "蠕动泵";
		this.labelPumpStatus.AutoSize = true;
		this.labelPumpStatus.Location = new System.Drawing.Point(4, 22);
		this.labelPumpStatus.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
		this.labelPumpStatus.Name = "labelPumpStatus";
		this.labelPumpStatus.Size = new System.Drawing.Size(37, 15);
		this.labelPumpStatus.TabIndex = 3;
		this.labelPumpStatus.Text = "状态";
		this.labelPumpStatus.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
		this.btnOpenPeristic.Location = new System.Drawing.Point(49, 15);
		this.btnOpenPeristic.Margin = new System.Windows.Forms.Padding(4);
		this.btnOpenPeristic.Name = "btnOpenPeristic";
		this.btnOpenPeristic.Size = new System.Drawing.Size(90, 28);
		this.btnOpenPeristic.TabIndex = 17;
		this.btnOpenPeristic.Text = "打开";
		this.btnOpenPeristic.UseVisualStyleBackColor = true;
		this.btnOpenPeristic.Click += new System.EventHandler(btnOpenPeristic_Click);
		this.buttonSaveSpeed.Location = new System.Drawing.Point(237, 54);
		this.buttonSaveSpeed.Margin = new System.Windows.Forms.Padding(4);
		this.buttonSaveSpeed.Name = "buttonSaveSpeed";
		this.buttonSaveSpeed.Size = new System.Drawing.Size(76, 32);
		this.buttonSaveSpeed.TabIndex = 16;
		this.buttonSaveSpeed.Text = "保存";
		this.buttonSaveSpeed.UseVisualStyleBackColor = true;
		this.buttonSaveSpeed.Click += new System.EventHandler(buttonSaveSpeed_Click);
		this.labelPumpSpeed.AutoSize = true;
		this.labelPumpSpeed.Location = new System.Drawing.Point(4, 71);
		this.labelPumpSpeed.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
		this.labelPumpSpeed.Name = "labelPumpSpeed";
		this.labelPumpSpeed.Size = new System.Drawing.Size(37, 15);
		this.labelPumpSpeed.TabIndex = 2;
		this.labelPumpSpeed.Text = "速度";
		this.labelPumpSpeed.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
		this.buttonSetupPumpSpeed.Location = new System.Drawing.Point(156, 54);
		this.buttonSetupPumpSpeed.Margin = new System.Windows.Forms.Padding(4);
		this.buttonSetupPumpSpeed.Name = "buttonSetupPumpSpeed";
		this.buttonSetupPumpSpeed.Size = new System.Drawing.Size(73, 32);
		this.buttonSetupPumpSpeed.TabIndex = 15;
		this.buttonSetupPumpSpeed.Text = "设置";
		this.buttonSetupPumpSpeed.UseVisualStyleBackColor = true;
		this.buttonSetupPumpSpeed.Click += new System.EventHandler(buttonSetupPumpSpeed_Click);
		this.numericUpDownPumpSpeed.Location = new System.Drawing.Point(49, 63);
		this.numericUpDownPumpSpeed.Margin = new System.Windows.Forms.Padding(4);
		this.numericUpDownPumpSpeed.Minimum = new decimal(new int[4] { 100, 0, 0, -2147483648 });
		this.numericUpDownPumpSpeed.Name = "numericUpDownPumpSpeed";
		this.numericUpDownPumpSpeed.Size = new System.Drawing.Size(90, 25);
		this.numericUpDownPumpSpeed.TabIndex = 1;
		this.groupBoxSampleSetup.Controls.Add(this.labelXYSpeed);
		this.groupBoxSampleSetup.Controls.Add(this.comboBoxZSpeed);
		this.groupBoxSampleSetup.Controls.Add(this.buttonUP);
		this.groupBoxSampleSetup.Controls.Add(this.buttonHomeY);
		this.groupBoxSampleSetup.Controls.Add(this.buttonSaveXYZSpeed);
		this.groupBoxSampleSetup.Controls.Add(this.buttonHomeZ);
		this.groupBoxSampleSetup.Controls.Add(this.labelZLevel);
		this.groupBoxSampleSetup.Controls.Add(this.buttonSetXYZSpeed);
		this.groupBoxSampleSetup.Controls.Add(this.buttonDown);
		this.groupBoxSampleSetup.Controls.Add(this.numericUpDownZDepth);
		this.groupBoxSampleSetup.Controls.Add(this.comboBoxXYSpeed);
		this.groupBoxSampleSetup.Controls.Add(this.buttonHome);
		this.groupBoxSampleSetup.Controls.Add(this.labelZDepthUnit);
		this.groupBoxSampleSetup.Controls.Add(this.labelZDepth);
		this.groupBoxSampleSetup.Controls.Add(this.labelXYLevel);
		this.groupBoxSampleSetup.Controls.Add(this.buttonHomeX);
		this.groupBoxSampleSetup.Controls.Add(this.labelZSpeed);
		this.groupBoxSampleSetup.Location = new System.Drawing.Point(10, 236);
		this.groupBoxSampleSetup.Margin = new System.Windows.Forms.Padding(4);
		this.groupBoxSampleSetup.Name = "groupBoxSampleSetup";
		this.groupBoxSampleSetup.Padding = new System.Windows.Forms.Padding(4);
		this.groupBoxSampleSetup.Size = new System.Drawing.Size(329, 224);
		this.groupBoxSampleSetup.TabIndex = 7;
		this.groupBoxSampleSetup.TabStop = false;
		this.groupBoxSampleSetup.Text = "进样";
		this.labelXYSpeed.AutoSize = true;
		this.labelXYSpeed.Location = new System.Drawing.Point(10, 24);
		this.labelXYSpeed.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
		this.labelXYSpeed.Name = "labelXYSpeed";
		this.labelXYSpeed.Size = new System.Drawing.Size(53, 15);
		this.labelXYSpeed.TabIndex = 0;
		this.labelXYSpeed.Text = "XY速度";
		this.labelXYSpeed.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
		this.comboBoxZSpeed.FormattingEnabled = true;
		this.comboBoxZSpeed.Location = new System.Drawing.Point(74, 65);
		this.comboBoxZSpeed.Margin = new System.Windows.Forms.Padding(4);
		this.comboBoxZSpeed.Name = "comboBoxZSpeed";
		this.comboBoxZSpeed.Size = new System.Drawing.Size(69, 23);
		this.comboBoxZSpeed.TabIndex = 14;
		this.comboBoxZSpeed.TextChanged += new System.EventHandler(comboBoxZSpeed_TextChanged);
		this.buttonUP.Location = new System.Drawing.Point(249, 86);
		this.buttonUP.Margin = new System.Windows.Forms.Padding(4);
		this.buttonUP.Name = "buttonUP";
		this.buttonUP.Size = new System.Drawing.Size(61, 36);
		this.buttonUP.TabIndex = 16;
		this.buttonUP.Text = "UP";
		this.buttonUP.UseVisualStyleBackColor = true;
		this.buttonUP.Click += new System.EventHandler(buttonUP_Click);
		this.buttonHomeY.Location = new System.Drawing.Point(164, 152);
		this.buttonHomeY.Margin = new System.Windows.Forms.Padding(4);
		this.buttonHomeY.Name = "buttonHomeY";
		this.buttonHomeY.Size = new System.Drawing.Size(69, 59);
		this.buttonHomeY.TabIndex = 10;
		this.buttonHomeY.Text = "Y复位";
		this.buttonHomeY.UseVisualStyleBackColor = true;
		this.buttonHomeY.Click += new System.EventHandler(buttonHomeY_Click);
		this.buttonSaveXYZSpeed.Location = new System.Drawing.Point(247, 21);
		this.buttonSaveXYZSpeed.Margin = new System.Windows.Forms.Padding(4);
		this.buttonSaveXYZSpeed.Name = "buttonSaveXYZSpeed";
		this.buttonSaveXYZSpeed.Size = new System.Drawing.Size(61, 36);
		this.buttonSaveXYZSpeed.TabIndex = 17;
		this.buttonSaveXYZSpeed.Text = "保存";
		this.buttonSaveXYZSpeed.UseVisualStyleBackColor = true;
		this.buttonSaveXYZSpeed.Click += new System.EventHandler(buttonSaveXYZSpeed_Click);
		this.buttonHomeZ.Location = new System.Drawing.Point(240, 152);
		this.buttonHomeZ.Margin = new System.Windows.Forms.Padding(4);
		this.buttonHomeZ.Name = "buttonHomeZ";
		this.buttonHomeZ.Size = new System.Drawing.Size(69, 59);
		this.buttonHomeZ.TabIndex = 11;
		this.buttonHomeZ.Text = "Z复位";
		this.buttonHomeZ.UseVisualStyleBackColor = true;
		this.buttonHomeZ.Click += new System.EventHandler(buttonHomeZ_Click);
		this.labelZLevel.AutoSize = true;
		this.labelZLevel.Location = new System.Drawing.Point(152, 68);
		this.labelZLevel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
		this.labelZLevel.Name = "labelZLevel";
		this.labelZLevel.Size = new System.Drawing.Size(22, 15);
		this.labelZLevel.TabIndex = 19;
		this.labelZLevel.Text = "级";
		this.labelZLevel.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
		this.buttonSetXYZSpeed.Location = new System.Drawing.Point(181, 21);
		this.buttonSetXYZSpeed.Margin = new System.Windows.Forms.Padding(4);
		this.buttonSetXYZSpeed.Name = "buttonSetXYZSpeed";
		this.buttonSetXYZSpeed.Size = new System.Drawing.Size(61, 36);
		this.buttonSetXYZSpeed.TabIndex = 12;
		this.buttonSetXYZSpeed.Text = "设置";
		this.buttonSetXYZSpeed.UseVisualStyleBackColor = true;
		this.buttonSetXYZSpeed.Click += new System.EventHandler(buttonSetXYZSpeed_Click);
		this.buttonDown.Location = new System.Drawing.Point(181, 86);
		this.buttonDown.Margin = new System.Windows.Forms.Padding(4);
		this.buttonDown.Name = "buttonDown";
		this.buttonDown.Size = new System.Drawing.Size(61, 36);
		this.buttonDown.TabIndex = 8;
		this.buttonDown.Text = "DOWN";
		this.buttonDown.UseVisualStyleBackColor = true;
		this.buttonDown.Click += new System.EventHandler(buttonDown_Click);
		this.numericUpDownZDepth.Increment = new decimal(new int[4] { 1, 0, 0, 131072 });
		this.numericUpDownZDepth.Location = new System.Drawing.Point(74, 108);
		this.numericUpDownZDepth.Margin = new System.Windows.Forms.Padding(4);
		this.numericUpDownZDepth.Name = "numericUpDownZDepth";
		this.numericUpDownZDepth.Size = new System.Drawing.Size(69, 25);
		this.numericUpDownZDepth.TabIndex = 5;
		this.comboBoxXYSpeed.FormattingEnabled = true;
		this.comboBoxXYSpeed.Location = new System.Drawing.Point(74, 21);
		this.comboBoxXYSpeed.Margin = new System.Windows.Forms.Padding(4);
		this.comboBoxXYSpeed.Name = "comboBoxXYSpeed";
		this.comboBoxXYSpeed.Size = new System.Drawing.Size(69, 23);
		this.comboBoxXYSpeed.TabIndex = 13;
		this.comboBoxXYSpeed.TextChanged += new System.EventHandler(comboBoxXYSpeed_TextChanged);
		this.buttonHome.Location = new System.Drawing.Point(7, 152);
		this.buttonHome.Margin = new System.Windows.Forms.Padding(4);
		this.buttonHome.Name = "buttonHome";
		this.buttonHome.Size = new System.Drawing.Size(69, 59);
		this.buttonHome.TabIndex = 6;
		this.buttonHome.Text = "复位";
		this.buttonHome.UseVisualStyleBackColor = true;
		this.buttonHome.Click += new System.EventHandler(buttonHome_Click);
		this.labelZDepthUnit.AutoSize = true;
		this.labelZDepthUnit.Location = new System.Drawing.Point(151, 112);
		this.labelZDepthUnit.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
		this.labelZDepthUnit.Name = "labelZDepthUnit";
		this.labelZDepthUnit.Size = new System.Drawing.Size(23, 15);
		this.labelZDepthUnit.TabIndex = 15;
		this.labelZDepthUnit.Text = "mm";
		this.labelZDepthUnit.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
		this.labelZDepth.AutoSize = true;
		this.labelZDepth.Location = new System.Drawing.Point(11, 118);
		this.labelZDepth.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
		this.labelZDepth.Name = "labelZDepth";
		this.labelZDepth.Size = new System.Drawing.Size(45, 15);
		this.labelZDepth.TabIndex = 4;
		this.labelZDepth.Text = "Z深度";
		this.labelZDepth.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
		this.labelXYLevel.AutoSize = true;
		this.labelXYLevel.Location = new System.Drawing.Point(151, 24);
		this.labelXYLevel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
		this.labelXYLevel.Name = "labelXYLevel";
		this.labelXYLevel.Size = new System.Drawing.Size(22, 15);
		this.labelXYLevel.TabIndex = 18;
		this.labelXYLevel.Text = "级";
		this.labelXYLevel.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
		this.buttonHomeX.Location = new System.Drawing.Point(85, 152);
		this.buttonHomeX.Margin = new System.Windows.Forms.Padding(4);
		this.buttonHomeX.Name = "buttonHomeX";
		this.buttonHomeX.Size = new System.Drawing.Size(69, 59);
		this.buttonHomeX.TabIndex = 9;
		this.buttonHomeX.Text = "X复位";
		this.buttonHomeX.UseVisualStyleBackColor = true;
		this.buttonHomeX.Click += new System.EventHandler(buttonHomeX_Click);
		this.labelZSpeed.AutoSize = true;
		this.labelZSpeed.Location = new System.Drawing.Point(10, 68);
		this.labelZSpeed.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
		this.labelZSpeed.Name = "labelZSpeed";
		this.labelZSpeed.Size = new System.Drawing.Size(45, 15);
		this.labelZSpeed.TabIndex = 2;
		this.labelZSpeed.Text = "Z速度";
		this.labelZSpeed.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
		this.groupBoxOther.Controls.Add(this.labelSecond);
		this.groupBoxOther.Controls.Add(this.numericUpDownPause);
		this.groupBoxOther.Controls.Add(this.buttonVersion);
		this.groupBoxOther.Controls.Add(this.buttonLightColor);
		this.groupBoxOther.Controls.Add(this.richTextBoxVersion);
		this.groupBoxOther.Controls.Add(this.buttonPause);
		this.groupBoxOther.Location = new System.Drawing.Point(13, 741);
		this.groupBoxOther.Margin = new System.Windows.Forms.Padding(4);
		this.groupBoxOther.Name = "groupBoxOther";
		this.groupBoxOther.Padding = new System.Windows.Forms.Padding(4);
		this.groupBoxOther.Size = new System.Drawing.Size(329, 110);
		this.groupBoxOther.TabIndex = 8;
		this.groupBoxOther.TabStop = false;
		this.groupBoxOther.Text = "其他";
		this.labelSecond.AutoSize = true;
		this.labelSecond.Location = new System.Drawing.Point(136, 28);
		this.labelSecond.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
		this.labelSecond.Name = "labelSecond";
		this.labelSecond.Size = new System.Drawing.Size(22, 15);
		this.labelSecond.TabIndex = 18;
		this.labelSecond.Text = "秒";
		this.labelSecond.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
		this.numericUpDownPause.Location = new System.Drawing.Point(4, 26);
		this.numericUpDownPause.Margin = new System.Windows.Forms.Padding(4);
		this.numericUpDownPause.Maximum = new decimal(new int[4] { 9999, 0, 0, 0 });
		this.numericUpDownPause.Name = "numericUpDownPause";
		this.numericUpDownPause.Size = new System.Drawing.Size(124, 25);
		this.numericUpDownPause.TabIndex = 17;
		this.buttonVersion.Location = new System.Drawing.Point(139, 60);
		this.buttonVersion.Margin = new System.Windows.Forms.Padding(4);
		this.buttonVersion.Name = "buttonVersion";
		this.buttonVersion.Size = new System.Drawing.Size(72, 42);
		this.buttonVersion.TabIndex = 20;
		this.buttonVersion.Text = "版本号";
		this.buttonVersion.UseVisualStyleBackColor = true;
		this.buttonVersion.Click += new System.EventHandler(buttonVersion_Click);
		this.buttonLightColor.Location = new System.Drawing.Point(213, 60);
		this.buttonLightColor.Margin = new System.Windows.Forms.Padding(4);
		this.buttonLightColor.Name = "buttonLightColor";
		this.buttonLightColor.Size = new System.Drawing.Size(97, 42);
		this.buttonLightColor.TabIndex = 22;
		this.buttonLightColor.Text = "指示灯颜色";
		this.buttonLightColor.UseVisualStyleBackColor = true;
		this.buttonLightColor.Click += new System.EventHandler(buttonLightColor_Click);
		this.richTextBoxVersion.Location = new System.Drawing.Point(0, 71);
		this.richTextBoxVersion.Margin = new System.Windows.Forms.Padding(4);
		this.richTextBoxVersion.Name = "richTextBoxVersion";
		this.richTextBoxVersion.Size = new System.Drawing.Size(124, 24);
		this.richTextBoxVersion.TabIndex = 21;
		this.richTextBoxVersion.Text = "";
		this.buttonPause.Location = new System.Drawing.Point(201, 21);
		this.buttonPause.Margin = new System.Windows.Forms.Padding(4);
		this.buttonPause.Name = "buttonPause";
		this.buttonPause.Size = new System.Drawing.Size(97, 28);
		this.buttonPause.TabIndex = 0;
		this.buttonPause.Text = "暂停";
		this.buttonPause.UseVisualStyleBackColor = true;
		this.buttonPause.Click += new System.EventHandler(buttonPause_Click);
		this.comboBoxPattern.FormattingEnabled = true;
		this.comboBoxPattern.Location = new System.Drawing.Point(71, 24);
		this.comboBoxPattern.Margin = new System.Windows.Forms.Padding(4);
		this.comboBoxPattern.Name = "comboBoxPattern";
		this.comboBoxPattern.Size = new System.Drawing.Size(203, 23);
		this.comboBoxPattern.TabIndex = 1;
		this.comboBoxPattern.SelectedIndexChanged += new System.EventHandler(comboBoxPattern_SelectedIndexChanged);
		this.labelPattern.AutoSize = true;
		this.labelPattern.Location = new System.Drawing.Point(16, 27);
		this.labelPattern.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
		this.labelPattern.Name = "labelPattern";
		this.labelPattern.Size = new System.Drawing.Size(37, 15);
		this.labelPattern.TabIndex = 0;
		this.labelPattern.Text = "型号";
		this.labelPattern.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
		this.tableLayoutPanelMain.AutoSize = true;
		this.tableLayoutPanelMain.ColumnCount = 2;
		this.tableLayoutPanelMain.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100f));
		this.tableLayoutPanelMain.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 370f));
		this.tableLayoutPanelMain.Controls.Add(this.tableLayoutPanelLeft, 0, 0);
		this.tableLayoutPanelMain.Controls.Add(this.panel5, 1, 0);
		this.tableLayoutPanelMain.Dock = System.Windows.Forms.DockStyle.Fill;
		this.tableLayoutPanelMain.Location = new System.Drawing.Point(0, 0);
		this.tableLayoutPanelMain.Margin = new System.Windows.Forms.Padding(4);
		this.tableLayoutPanelMain.Name = "tableLayoutPanelMain";
		this.tableLayoutPanelMain.RowCount = 1;
		this.tableLayoutPanelMain.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100f));
		this.tableLayoutPanelMain.Size = new System.Drawing.Size(1763, 1055);
		this.tableLayoutPanelMain.TabIndex = 2;
		this.panel5.AutoScroll = true;
		this.panel5.Controls.Add(this.groupBoxOther);
		this.panel5.Controls.Add(this.groupBoxCommunication);
		this.panel5.Controls.Add(this.groupBoxChosenRack);
		this.panel5.Controls.Add(this.groupBoxRinse);
		this.panel5.Controls.Add(this.comboBoxPattern);
		this.panel5.Controls.Add(this.groupBoxPump);
		this.panel5.Controls.Add(this.groupBoxSampleSetup);
		this.panel5.Controls.Add(this.labelPattern);
		this.panel5.Location = new System.Drawing.Point(1396, 3);
		this.panel5.Name = "panel5";
		this.panel5.Size = new System.Drawing.Size(364, 860);
		this.panel5.TabIndex = 2;
		base.AutoScaleDimensions = new System.Drawing.SizeF(8f, 15f);
		base.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
		base.ClientSize = new System.Drawing.Size(1763, 1055);
		base.Controls.Add(this.tableLayoutPanelMain);
		base.Margin = new System.Windows.Forms.Padding(4);
		base.Name = "FormAutosampler";
		this.Text = "自动进样器";
		base.FormClosing += new System.Windows.Forms.FormClosingEventHandler(FormAutosampler_FormClosing);
		base.Load += new System.EventHandler(FormAutosampler_Load);
		base.SizeChanged += new System.EventHandler(FormAutosampler_SizeChanged);
		this.tableLayoutPanelLeft.ResumeLayout(false);
		this.tableLayoutPanelLeft.PerformLayout();
		this.tableLayoutPanelSample.ResumeLayout(false);
		this.groupBoxRack3.ResumeLayout(false);
		this.panel3.ResumeLayout(false);
		this.tableLayoutPanelSample3.ResumeLayout(false);
		this.tableLayoutPanelSample3.PerformLayout();
		this.groupBoxRack2.ResumeLayout(false);
		this.panel2.ResumeLayout(false);
		this.tableLayoutPanelSample2.ResumeLayout(false);
		this.groupBoxRack1.ResumeLayout(false);
		this.panel1.ResumeLayout(false);
		this.tableLayoutPanelSample1.ResumeLayout(false);
		this.groupBoxRack4.ResumeLayout(false);
		this.panel4.ResumeLayout(false);
		this.tableLayoutPanelSample4.ResumeLayout(false);
		this.panel6.ResumeLayout(false);
		this.panel6.PerformLayout();
		this.groupBoxStandard.ResumeLayout(false);
		this.groupBoxStandard.PerformLayout();
		this.tableLayoutPanelStandardSample.ResumeLayout(false);
		this.groupBoxChosenRack.ResumeLayout(false);
		this.groupBoxChosenRack.PerformLayout();
		((System.ComponentModel.ISupportInitialize)this.numericUpDownVialNumber).EndInit();
		((System.ComponentModel.ISupportInitialize)this.numericUpDownRackNumber).EndInit();
		((System.ComponentModel.ISupportInitialize)this.numericUpDownZLocation).EndInit();
		this.groupBoxCommunication.ResumeLayout(false);
		this.groupBoxCommunication.PerformLayout();
		this.groupBoxRinse.ResumeLayout(false);
		((System.ComponentModel.ISupportInitialize)this.numericRinse).EndInit();
		this.groupBoxPump.ResumeLayout(false);
		this.groupBoxPump.PerformLayout();
		((System.ComponentModel.ISupportInitialize)this.numericUpDownPumpSpeed).EndInit();
		this.groupBoxSampleSetup.ResumeLayout(false);
		this.groupBoxSampleSetup.PerformLayout();
		((System.ComponentModel.ISupportInitialize)this.numericUpDownZDepth).EndInit();
		this.groupBoxOther.ResumeLayout(false);
		this.groupBoxOther.PerformLayout();
		((System.ComponentModel.ISupportInitialize)this.numericUpDownPause).EndInit();
		this.tableLayoutPanelMain.ResumeLayout(false);
		this.tableLayoutPanelMain.PerformLayout();
		this.panel5.ResumeLayout(false);
		this.panel5.PerformLayout();
		base.ResumeLayout(false);
		base.PerformLayout();
	}
}
